So I’ve been following the nice link on using go on Heroku.
I have to ask,since I’m kind of afraid I’m just stupid or perhaps need a lot more coffee:
Does that actually work? All I get is:
remote: cmd/go-getting-started/main.go:60: db declared and not used
remote: godep: go exit status 2
remote:
remote: ! Push rejected, failed to compile Go app
remote:
Hi and thanks. Yes that’s what i thought but as far as I can see I’ve been following their code in that link.
I declare the “db” in func main() and use it in dbFunc() ??