I am new to go and working on an example code that I want to localize.
In the original main.go import statement it was:
main.go
import ( &quo
Well, I figured out the problem. Basically Go starting path for import is $HOME/go/src
$HOME/go/src
So I just needed to add myapp in front of the package names, that is, the import should be:
myapp
import ( "log" "net/http" "myapp/common" "myapp/routers" )