I am trying to serve godoc -http=:[port] on Heroku server
I get the following error in Heroku logs
bash: godoc: command not found
my Procfile looks like:
web: godoc -http=:$PORT
I tried to install godoc by adding the following line to the Procfile
release: go get -u golang.org/x/tools/cmd/godoc
note: I'm using Go modules