Closed arduent closed 3 years ago
Thanks for the report. Looks like we haven't updated the guide after migrating to go modules. You need to set GO111MODULE=on
env variable. Then after running go get -v github.com/stellar/go/services/horizon
you'll find horizon
binary in your $GOPATH/bin/horizon
. To add code changes, just git clone
the repo.
Next step: update docs.
This should work without any config changes in the latest two versions of Golang. If not, please reopen.
What version are you using?
current
What did you do?
I think it's supposed to be "go get" not "go install" maybe the build instructions are wrong.
What did you expect to see?
no errors
What did you see instead?
in the file github.com/stellar/go/services/horizon/internal/httpx/router.go (line 77)
Changing:
to :
then horizon runs. But maybe it doesn't get the "forward ip" from the headers. I haven't gotten that far yet.
I am using go version: go1.14.6 linux/amd64