Просмотр исходного кода

safesocket: gofmt

gofmt differences between versions :(
Brad Fitzpatrick 5 лет назад
Родитель
Сommit
d8e67ca2ab
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      safesocket/unixsocket.go

+ 3 - 3
safesocket/unixsocket.go

@@ -130,10 +130,10 @@ func connectMacOSAppSandbox() (net.Conn, error) {
 	// App Sandbox.
 
 	out, err := exec.Command("lsof",
-		"-n", // numeric sockets; don't do DNS lookups, etc
-		"-a", // logical AND remaining options
+		"-n",                             // numeric sockets; don't do DNS lookups, etc
+		"-a",                             // logical AND remaining options
 		fmt.Sprintf("-u%d", os.Getuid()), // process of same user only
-		"-c", "IPNExtension", // starting with IPNExtension
+		"-c", "IPNExtension",             // starting with IPNExtension
 		"-F", // machine-readable output
 	).Output()
 	if err != nil {