How to access Go installed binary on the worker?

I am trying to deploy a Go binary on the build worker for sangupta.pages.dev. I tried installing using
go install github.com/jondot/goweight@latest
which seems to succeed. But I am unable to call
goweight
using any of the following
./goweight
or
$GO_ROOT/bin/goweight
. Any help is appreciated - thanks in advance.
Was this page helpful?