Golang, importing packages from Github requests me to remember the Github URL?

I would recommend you to read the How to Write Go Code documentation and this blog post.

The path you’re seeing in your import line is not a url, but only the path the package is located in (normally relative to $GOROOT/src/pkg or $GOPATH/src). So your package heredoc is most probably located in the directory $GOPATH/src/github.com/MakeNowJust/heredoc.

The recommended way to use external packages is by downloading and installing them via go get. You might want to check out the documentation of go get by go get --help.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)