Skip to content

Commit

Permalink
marshal: rename marshal to serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
dkropachev committed Oct 10, 2024
1 parent 57a9143 commit 9397afe
Show file tree
Hide file tree
Showing 31 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions marshal.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ import (

"gopkg.in/inf.v0"

"github.com/gocql/gocql/marshal/bigint"
"github.com/gocql/gocql/marshal/counter"
"github.com/gocql/gocql/marshal/cqlint"
"github.com/gocql/gocql/marshal/smallint"
"github.com/gocql/gocql/marshal/tinyint"
"github.com/gocql/gocql/serialization/bigint"
"github.com/gocql/gocql/serialization/counter"
"github.com/gocql/gocql/serialization/cqlint"
"github.com/gocql/gocql/serialization/smallint"
"github.com/gocql/gocql/serialization/tinyint"
)

var (
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/serialization/marshal_2_tinyint_corrupt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/gocql/gocql"
"github.com/gocql/gocql/internal/tests/serialization"
"github.com/gocql/gocql/internal/tests/serialization/mod"
"github.com/gocql/gocql/marshal/tinyint"
"github.com/gocql/gocql/serialization/tinyint"
)

func TestMarshalTinyintCorrupt(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion tests/serialization/marshal_2_tinyint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/gocql/gocql"
"github.com/gocql/gocql/internal/tests/serialization"
"github.com/gocql/gocql/internal/tests/serialization/mod"
"github.com/gocql/gocql/marshal/tinyint"
"github.com/gocql/gocql/serialization/tinyint"
)

func TestMarshalTinyint(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion tests/serialization/marshal_3_smallint_corrupt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/gocql/gocql"
"github.com/gocql/gocql/internal/tests/serialization"
"github.com/gocql/gocql/internal/tests/serialization/mod"
"github.com/gocql/gocql/marshal/smallint"
"github.com/gocql/gocql/serialization/smallint"
)

func TestMarshalSmallintCorrupt(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion tests/serialization/marshal_3_smallint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/gocql/gocql"
"github.com/gocql/gocql/internal/tests/serialization"
"github.com/gocql/gocql/internal/tests/serialization/mod"
"github.com/gocql/gocql/marshal/smallint"
"github.com/gocql/gocql/serialization/smallint"
)

func TestMarshalSmallint(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion tests/serialization/marshal_4_int_corrupt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/gocql/gocql"
"github.com/gocql/gocql/internal/tests/serialization"
"github.com/gocql/gocql/internal/tests/serialization/mod"
"github.com/gocql/gocql/marshal/cqlint"
"github.com/gocql/gocql/serialization/cqlint"
)

func TestMarshalIntCorrupt(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion tests/serialization/marshal_4_int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/gocql/gocql"
"github.com/gocql/gocql/internal/tests/serialization"
"github.com/gocql/gocql/internal/tests/serialization/mod"
"github.com/gocql/gocql/marshal/cqlint"
"github.com/gocql/gocql/serialization/cqlint"
)

func TestMarshalInt(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion tests/serialization/marshal_5_bigint_corrupt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/gocql/gocql"
"github.com/gocql/gocql/internal/tests/serialization"
"github.com/gocql/gocql/internal/tests/serialization/mod"
"github.com/gocql/gocql/marshal/bigint"
"github.com/gocql/gocql/serialization/bigint"
)

func TestMarshalBigIntCorrupt(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion tests/serialization/marshal_5_bigint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/gocql/gocql"
"github.com/gocql/gocql/internal/tests/serialization"
"github.com/gocql/gocql/internal/tests/serialization/mod"
"github.com/gocql/gocql/marshal/bigint"
"github.com/gocql/gocql/serialization/bigint"
)

func TestMarshalBigInt(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion tests/serialization/marshal_6_counter_corrupt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/gocql/gocql"
"github.com/gocql/gocql/internal/tests/serialization"
"github.com/gocql/gocql/internal/tests/serialization/mod"
"github.com/gocql/gocql/marshal/counter"
"github.com/gocql/gocql/serialization/counter"
)

func TestMarshalCounterCorrupt(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion tests/serialization/marshal_6_counter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/gocql/gocql"
"github.com/gocql/gocql/internal/tests/serialization"
"github.com/gocql/gocql/internal/tests/serialization/mod"
"github.com/gocql/gocql/marshal/counter"
"github.com/gocql/gocql/serialization/counter"
)

func TestMarshalCounter(t *testing.T) {
Expand Down

0 comments on commit 9397afe

Please sign in to comment.