1
0
mirror of https://github.com/schollz/croc.git synced 2024-11-24 08:02:33 +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 NumberOfConnections int
} }
var version string
func main() { func main() {
fmt.Println(`
/\_/\
____/ o o \
/~____ =ø= /
(______)__m_m)
croc version `+version+`
`)
flags := new(Flags) flags := new(Flags)
flag.BoolVar(&flags.Relay, "relay", false, "run as relay") flag.BoolVar(&flags.Relay, "relay", false, "run as relay")
flag.BoolVar(&flags.Debug, "debug", false, "debug mode") flag.BoolVar(&flags.Debug, "debug", false, "debug mode")