Skip to content

Commit

Permalink
build: convert to go:build directives (#2664)
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkerou committed Mar 27, 2021
1 parent 1bdf86b commit ed6f85c
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions binding/binding.go
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.

//go:build !nomsgpack
// +build !nomsgpack

package binding
Expand Down
1 change: 1 addition & 0 deletions binding/binding_msgpack_test.go
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.

//go:build !nomsgpack
// +build !nomsgpack

package binding
Expand Down
1 change: 1 addition & 0 deletions binding/binding_nomsgpack.go
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.

//go:build nomsgpack
// +build nomsgpack

package binding
Expand Down
1 change: 1 addition & 0 deletions binding/msgpack.go
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.

//go:build !nomsgpack
// +build !nomsgpack

package binding
Expand Down
1 change: 1 addition & 0 deletions binding/msgpack_test.go
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.

//go:build !nomsgpack
// +build !nomsgpack

package binding
Expand Down
5 changes: 3 additions & 2 deletions 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.

//go:build appengine
// +build appengine

package gin

func init() {
Expand Down
1 change: 1 addition & 0 deletions errors_1.13_test.go
@@ -1,3 +1,4 @@
//go:build go1.13
// +build go1.13

package gin
Expand Down
1 change: 1 addition & 0 deletions internal/json/json.go
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.

//go:build !jsoniter
// +build !jsoniter

package json
Expand Down
1 change: 1 addition & 0 deletions internal/json/jsoniter.go
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.

//go:build jsoniter
// +build jsoniter

package json
Expand Down
1 change: 1 addition & 0 deletions render/msgpack.go
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.

//go:build !nomsgpack
// +build !nomsgpack

package render
Expand Down
1 change: 1 addition & 0 deletions render/render_msgpack_test.go
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.

//go:build !nomsgpack
// +build !nomsgpack

package render
Expand Down

0 comments on commit ed6f85c

Please sign in to comment.