Skip to content

Commit

Permalink
build: convert to go:build directives
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkerou committed Mar 27, 2021
1 parent 24511a3 commit d485f68
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
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.

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

package binding

Expand Down
1 change: 1 addition & 0 deletions binding/binding_msgpack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.

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

package binding

Expand Down
1 change: 1 addition & 0 deletions binding/binding_nomsgpack.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.

// +build nomsgpack
//go:build nomsgpack

package binding

Expand Down
1 change: 1 addition & 0 deletions binding/msgpack.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.

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

package binding

Expand Down
1 change: 1 addition & 0 deletions binding/msgpack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.

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

package binding

Expand Down
5 changes: 3 additions & 2 deletions context_appengine.go
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down
1 change: 1 addition & 0 deletions errors_1.13_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// +build go1.13
//go:build go1.13

package gin

Expand Down
1 change: 1 addition & 0 deletions internal/json/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.

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

package json

Expand Down
1 change: 1 addition & 0 deletions internal/json/jsoniter.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.

// +build jsoniter
//go:build jsoniter

package json

Expand Down
1 change: 1 addition & 0 deletions render/msgpack.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.

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

package render

Expand Down
1 change: 1 addition & 0 deletions render/render_msgpack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.

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

package render

Expand Down

0 comments on commit d485f68

Please sign in to comment.