Skip to content

Commit

Permalink
Add //go:build tags for Go 1.17
Browse files Browse the repository at this point in the history
Run Go 1.17 gofmt to add //go:build tags.
  • Loading branch information
tklauser committed Sep 3, 2021
1 parent f5057de commit a22894b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions agent/sockopt_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build !js && !plan9 && !windows
// +build !js,!plan9,!windows

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

//go:build (js && wasm) || plan9 || windows
// +build js,wasm plan9 windows

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

//go:build go1.13
// +build go1.13

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

//go:build !go1.13
// +build !go1.13

package internal
Expand Down

0 comments on commit a22894b

Please sign in to comment.