build: convert to go:build directives

This commit is contained in:
thinkerou 2021-03-27 08:38:37 +08:00
parent 24511a3cd9
commit d485f68246
11 changed files with 13 additions and 2 deletions

View File

@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.
// +build !nomsgpack
//go:build !nomsgpack
package binding

View File

@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.
// +build !nomsgpack
//go:build !nomsgpack
package binding

View File

@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.
// +build nomsgpack
//go:build nomsgpack
package binding

View File

@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.
// +build !nomsgpack
//go:build !nomsgpack
package binding

View File

@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.
// +build !nomsgpack
//go:build !nomsgpack
package binding

View File

@ -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() {

View File

@ -1,4 +1,5 @@
// +build go1.13
//go:build go1.13
package gin

View File

@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.
// +build !jsoniter
//go:build !jsoniter
package json

View File

@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.
// +build jsoniter
//go:build jsoniter
package json

View File

@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.
// +build !nomsgpack
//go:build !nomsgpack
package render

View File

@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.
// +build !nomsgpack
//go:build !nomsgpack
package render