map[<host>:www.google.de <port>:80 --help:false --version:false]
host := arguments["<host>"] + ":" + arguments["<port>"]
invalid operation: arguments[""] + ":" (mismatched types interface {} and string)
Golang Community Moderator. Software Engineer - Open Source Enthusiast. Goper Lover
Follow the Go Language Community to stay up to date with latest tutorials and find answers, support from other users. Its not same without you!
Write your answer...
I’ve the following code which require multiple packages in cmd package my project structure is like following in constants i put the code and in runners and package2/3 etc I use this constant.
Chris Gregori
General
Asked • Jan 19 2020
I am trying to declare to constant in Go, but it is throwing an error. Could anyone please help me with the syntax of declaring a constant in Go? This is my code: This is the error
Gopher
after compile, I get the error message why can't I put i++ in index of slice? is there any limitation in index of slice?
Asked • Jan 14 2020
Community
Get Involved
Stay Connected
Company