1
0
mirror of https://github.com/schollz/croc.git synced 2024-12-26 23:35:48 +03:00

update goreleaser

This commit is contained in:
Zack Scholl 2017-10-18 14:11:35 -06:00
parent f979da2585
commit b10d2d44d0

10
main.go
View File

@ -20,7 +20,17 @@ type Flags struct {
NumberOfConnections int
}
var version string
func main() {
fmt.Println(`
/\_/\
____/ o o \
/~____ =ø= /
(______)__m_m)
croc version `+version+`
`)
flags := new(Flags)
flag.BoolVar(&flags.Relay, "relay", false, "run as relay")
flag.BoolVar(&flags.Debug, "debug", false, "debug mode")