panic: runtime error: index out of range [1] with length 1
zer-far opened this issue · 2 comments
zer-far commented
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
Hi, have you set the required arguments mentioned in the readme?
…On Wed, 1 Dec 2021, 20:22 Abdullah, ***@***.***> wrote:
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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAX5GPVEYRWQJAEGCBHEFCLUOZ7ZLANCNFSM5JFMU2WQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
zer-far commented
I forgot to provide the arguments.