Skip to content

Commit

Permalink
Fix gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaitodor committed Apr 6, 2022
1 parent 8b8f708 commit df32793
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion codec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ func TestSingleObjectEncoding(t *testing.T) {
codec, err := NewCodec(`
{
"type": "record",
"name": "LongList",
"name": "LongList",
"fields" : [
{"name": "next", "type": ["null", "LongList"], "default": null}
]
Expand Down
2 changes: 1 addition & 1 deletion debug_development.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build goavro_debug
//go:build goavro_debug

package goavro

Expand Down
2 changes: 1 addition & 1 deletion debug_release.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build !goavro_debug
//go:build !goavro_debug

package goavro

Expand Down
2 changes: 1 addition & 1 deletion record_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ func TestRecordRecursiveRoundTrip(t *testing.T) {
codec, err := NewCodec(`
{
"type": "record",
"name": "LongList",
"name": "LongList",
"fields" : [
{"name": "next", "type": ["null", "LongList"], "default": null}
]
Expand Down
6 changes: 3 additions & 3 deletions schema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ func TestSchemaFooBarSpecificRecord(t *testing.T) {
{"name": "name", "type": "string"},
{"name": "nicknames", "type":
{"type": "array", "items": "string"}},
{"name": "relatedids", "type":
{"name": "relatedids", "type":
{"type": "array", "items": "int"}},
{"name": "typeEnum", "type":
["null", {
{"name": "typeEnum", "type":
["null", {
"type": "enum",
"name": "TypeEnum",
"namespace": "org.apache.avro",
Expand Down

0 comments on commit df32793

Please sign in to comment.