GoLang Tutorial
GoLang is super fast server side language for web framework and Restful API. It's must faster than other traditional language and supports concurrency.
This error comes when you have multiple go files
This error shows up when you have multiple go files in the same package and you try to run
go run main.go
There are two ways to solve this problem.
Solution 1
Try to mention all of your go files when you compile them like below
go run main.go another.go more.do
Solution 2
Try to run every thing in the current directory
go run .