mirror of
https://github.com/schollz/croc.git
synced 2024-11-24 08:02:33 +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
|
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")
|
||||||
|
Loading…
Reference in New Issue
Block a user