Style: format code

This commit is contained in:
Arthur Morgan 2021-09-20 21:00:55 +08:00
parent ab927d2cca
commit ffc2f7c4e2
78 changed files with 112 additions and 39 deletions

View file

@ -1,3 +1,4 @@
//go:build freebsd
// +build freebsd
package udp

View file

@ -1,3 +1,4 @@
//go:build linux
// +build linux
package udp
@ -5,8 +6,9 @@ package udp
import (
"syscall"
"github.com/xtls/xray-core/common/net"
"golang.org/x/sys/unix"
"github.com/xtls/xray-core/common/net"
)
func RetrieveOriginalDest(oob []byte) net.Destination {

View file

@ -1,3 +1,4 @@
//go:build !linux && !freebsd
// +build !linux,!freebsd
package udp