mirror of
https://github.com/schollz/croc.git
synced 2024-11-23 23:54:17 +03:00
update goreleaser
This commit is contained in:
parent
f979da2585
commit
b10d2d44d0
10
main.go
10
main.go
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user