Skip to content

Commit

Permalink
add //go:build
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo82148 committed Jul 22, 2021
1 parent 712ea5b commit 3ba961d
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions isatty_bsd.go
@@ -1,3 +1,4 @@
//go:build (darwin || freebsd || openbsd || netbsd || dragonfly) && !appengine
// +build darwin freebsd openbsd netbsd dragonfly
// +build !appengine

Expand Down
1 change: 1 addition & 0 deletions isatty_others.go
@@ -1,3 +1,4 @@
//go:build appengine || js || nacl || wasm
// +build appengine js nacl wasm

package isatty
Expand Down
1 change: 1 addition & 0 deletions isatty_others_test.go
@@ -1,3 +1,4 @@
//go:build !windows
// +build !windows

package isatty
Expand Down
1 change: 1 addition & 0 deletions isatty_plan9.go
@@ -1,3 +1,4 @@
//go:build plan9
// +build plan9

package isatty
Expand Down
4 changes: 2 additions & 2 deletions isatty_solaris.go
@@ -1,5 +1,5 @@
// +build solaris
// +build !appengine
//go:build solaris && !appengine
// +build solaris,!appengine

package isatty

Expand Down
1 change: 1 addition & 0 deletions isatty_tcgets.go
@@ -1,3 +1,4 @@
//go:build (linux || aix || zos) && !appengine
// +build linux aix zos
// +build !appengine

Expand Down
4 changes: 2 additions & 2 deletions isatty_windows.go
@@ -1,5 +1,5 @@
// +build windows
// +build !appengine
//go:build windows && !appengine
// +build windows,!appengine

package isatty

Expand Down
1 change: 1 addition & 0 deletions isatty_windows_test.go
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

package isatty
Expand Down

0 comments on commit 3ba961d

Please sign in to comment.