go fmt
This commit is contained in:
parent
a5ae45e0b9
commit
491274ab3f
5
main.go
5
main.go
|
@ -1,11 +1,11 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"socks5"
|
"fmt"
|
||||||
"golang.org/x/net/proxy"
|
"golang.org/x/net/proxy"
|
||||||
"net"
|
"net"
|
||||||
"os"
|
"os"
|
||||||
"fmt"
|
"socks5"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -54,7 +54,6 @@ func main() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
l, err := net.Listen("tcp", os.Args[1])
|
l, err := net.Listen("tcp", os.Args[1])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Printf("failed to listen on %s, %s\n", os.Args[1], err.Error())
|
fmt.Printf("failed to listen on %s, %s\n", os.Args[1], err.Error())
|
||||||
|
|
Loading…
Reference in New Issue