Browse Source

Chore: go1.17 build constraints

pull/76/head
xjasonlyu 3 years ago
parent
commit
525d424fca
  1. 2
      component/dialer/bind_others.go
  2. 2
      component/dialer/fwmark_others.go
  3. 2
      core/device/tun/io_unix.go
  4. 2
      core/device/tun/tun_gvisor.go
  5. 2
      core/device/tun/tun_wireguard.go

2
component/dialer/bind_others.go

@ -1,4 +1,4 @@
// +build !linux,!darwin
//go:build !linux && !darwin
package dialer

2
component/dialer/fwmark_others.go

@ -1,4 +1,4 @@
// +build !linux
//go:build !linux
package dialer

2
core/device/tun/io_unix.go

@ -1,4 +1,4 @@
// +build darwin freebsd openbsd
//go:build darwin || freebsd || openbsd
package tun

2
core/device/tun/tun_gvisor.go

@ -1,4 +1,4 @@
// +build linux
//go:build linux
package tun

2
core/device/tun/tun_wireguard.go

@ -1,4 +1,4 @@
// +build !linux
//go:build !linux
package tun

Loading…
Cancel
Save