diff --git a/binding/binding.go b/binding/binding.go index 5c8e235b..7b2f24fa 100644 --- a/binding/binding.go +++ b/binding/binding.go @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // +build !nomsgpack +//go:build !nomsgpack package binding diff --git a/binding/binding_msgpack_test.go b/binding/binding_msgpack_test.go index 9791a607..3af11476 100644 --- a/binding/binding_msgpack_test.go +++ b/binding/binding_msgpack_test.go @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // +build !nomsgpack +//go:build !nomsgpack package binding diff --git a/binding/binding_nomsgpack.go b/binding/binding_nomsgpack.go index fd227b11..e1dcc508 100644 --- a/binding/binding_nomsgpack.go +++ b/binding/binding_nomsgpack.go @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // +build nomsgpack +//go:build nomsgpack package binding diff --git a/binding/msgpack.go b/binding/msgpack.go index a5bc2ad2..e9866a20 100644 --- a/binding/msgpack.go +++ b/binding/msgpack.go @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // +build !nomsgpack +//go:build !nomsgpack package binding diff --git a/binding/msgpack_test.go b/binding/msgpack_test.go index 296d3eb1..f6fab4cf 100644 --- a/binding/msgpack_test.go +++ b/binding/msgpack_test.go @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // +build !nomsgpack +//go:build !nomsgpack package binding diff --git a/context_appengine.go b/context_appengine.go index 38c189a0..258e4faf 100644 --- a/context_appengine.go +++ b/context_appengine.go @@ -1,9 +1,10 @@ -// +build appengine - // Copyright 2017 Manu Martinez-Almeida. All rights reserved. // 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 + package gin func init() { diff --git a/errors_1.13_test.go b/errors_1.13_test.go index a8f9a94e..38f16be6 100644 --- a/errors_1.13_test.go +++ b/errors_1.13_test.go @@ -1,4 +1,5 @@ // +build go1.13 +//go:build go1.13 package gin diff --git a/internal/json/json.go b/internal/json/json.go index 480e8bff..03b3d068 100644 --- a/internal/json/json.go +++ b/internal/json/json.go @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // +build !jsoniter +//go:build !jsoniter package json diff --git a/internal/json/jsoniter.go b/internal/json/jsoniter.go index 649a3cdb..ab4c3831 100644 --- a/internal/json/jsoniter.go +++ b/internal/json/jsoniter.go @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // +build jsoniter +//go:build jsoniter package json diff --git a/render/msgpack.go b/render/msgpack.go index be2d45c5..9a4f7894 100644 --- a/render/msgpack.go +++ b/render/msgpack.go @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // +build !nomsgpack +//go:build !nomsgpack package render diff --git a/render/render_msgpack_test.go b/render/render_msgpack_test.go index e439ac48..22c63535 100644 --- a/render/render_msgpack_test.go +++ b/render/render_msgpack_test.go @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // +build !nomsgpack +//go:build !nomsgpack package render