Skip to content

Remove redundant build tags #1

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ go_library(
"safeopen_nix_common.go",
"safeopen_linux.go",
"safeopen_nix.go",
"safeopen_win.go",
"safeopen_windows.go",
],
importpath = "github.com/google/safeopen",
visibility = ["//visibility:public"],
Expand All @@ -46,7 +46,7 @@ go_test(
"safeopen_test.go",
"safeopen_linux_test.go",
"safeopen_nix_test.go",
"safeopen_win_test.go",
"safeopen_windows_test.go",
],
embed = [":safeopen"],
)
3 changes: 0 additions & 3 deletions safeopen_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build linux
// +build linux

package safeopen

import (
Expand Down
3 changes: 0 additions & 3 deletions safeopen_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build linux
// +build linux

package safeopen

import (
Expand Down
1 change: 0 additions & 1 deletion safeopen_nix.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
// limitations under the License.

//go:build unix && !linux
// +build unix,!linux

package safeopen

Expand Down
1 change: 0 additions & 1 deletion safeopen_nix_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
// limitations under the License.

//go:build unix
// +build unix

package safeopen

Expand Down
1 change: 0 additions & 1 deletion safeopen_nix_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
// limitations under the License.

//go:build unix
// +build unix

package safeopen

Expand Down
3 changes: 0 additions & 3 deletions safeopen_win.go → safeopen_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build windows
// +build windows

package safeopen

import (
Expand Down
3 changes: 0 additions & 3 deletions safeopen_win_test.go → safeopen_windows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build windows
// +build windows

package safeopen

import (
Expand Down