rdkr/oniongen-go

panic: runtime error: index out of range [1] with length 1

zer-far opened this issue · 2 comments

Whenever I execute go run main.go or go build main.go && ./main I get this error:

panic: runtime error: index out of range [1] with length 1

goroutine 1 [running]:
main.main()
	/hidden/hidden/hidden/oniongen-go/main.go:92 +0x153
exit status 2

rdkr commented

I forgot to provide the arguments.