diff --git a/binding/binding.go b/binding/binding.go index 7b2f24fa74..5caeb581af 100644 --- a/binding/binding.go +++ b/binding/binding.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. -// +build !nomsgpack //go:build !nomsgpack +// +build !nomsgpack package binding diff --git a/binding/binding_msgpack_test.go b/binding/binding_msgpack_test.go index 3af11476d0..04d9407971 100644 --- a/binding/binding_msgpack_test.go +++ b/binding/binding_msgpack_test.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. -// +build !nomsgpack //go:build !nomsgpack +// +build !nomsgpack package binding diff --git a/binding/binding_nomsgpack.go b/binding/binding_nomsgpack.go index e1dcc508b4..9afa3dcf6d 100644 --- a/binding/binding_nomsgpack.go +++ b/binding/binding_nomsgpack.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. -// +build nomsgpack //go:build nomsgpack +// +build nomsgpack package binding diff --git a/binding/msgpack.go b/binding/msgpack.go index e9866a2046..2a442996a6 100644 --- a/binding/msgpack.go +++ b/binding/msgpack.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. -// +build !nomsgpack //go:build !nomsgpack +// +build !nomsgpack package binding diff --git a/binding/msgpack_test.go b/binding/msgpack_test.go index f6fab4cf7e..75600ba830 100644 --- a/binding/msgpack_test.go +++ b/binding/msgpack_test.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. -// +build !nomsgpack //go:build !nomsgpack +// +build !nomsgpack package binding diff --git a/context_appengine.go b/context_appengine.go index 258e4faf7b..d565843489 100644 --- a/context_appengine.go +++ b/context_appengine.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. -// +build appengine //go:build appengine +// +build appengine package gin diff --git a/errors_1.13_test.go b/errors_1.13_test.go index 38f16be6be..5fb6057baa 100644 --- a/errors_1.13_test.go +++ b/errors_1.13_test.go @@ -1,5 +1,5 @@ -// +build go1.13 //go:build go1.13 +// +build go1.13 package gin diff --git a/internal/json/json.go b/internal/json/json.go index 03b3d068e5..172aeb2414 100644 --- a/internal/json/json.go +++ b/internal/json/json.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. -// +build !jsoniter //go:build !jsoniter +// +build !jsoniter package json diff --git a/internal/json/jsoniter.go b/internal/json/jsoniter.go index ab4c3831eb..232f8dcada 100644 --- a/internal/json/jsoniter.go +++ b/internal/json/jsoniter.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. -// +build jsoniter //go:build jsoniter +// +build jsoniter package json diff --git a/render/msgpack.go b/render/msgpack.go index 9a4f789491..6ef5b6e514 100644 --- a/render/msgpack.go +++ b/render/msgpack.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. -// +build !nomsgpack //go:build !nomsgpack +// +build !nomsgpack package render diff --git a/render/render_msgpack_test.go b/render/render_msgpack_test.go index 22c6353555..8170fbe815 100644 --- a/render/render_msgpack_test.go +++ b/render/render_msgpack_test.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. -// +build !nomsgpack //go:build !nomsgpack +// +build !nomsgpack package render