Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: convert to go:build directives #2664

Merged
merged 4 commits into from Mar 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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