Hey I was trying to install the gorp library,
go get github.com/coopernurse/gorp
but got the following error:
# github.com/coopernurse/gorp
/usr/lib/go/src/pkg/github.com/coopernurse/gorp/gorp.go:1534:
method arg.FieldByName is not an expression, must be called
is the gorp build just broken? Or am I doing something wrong?
Thanks for any advice.
Make sure to use the latest go in order to compile successfully this library.
I just tested with:
And that does compile, including the strange line 1534: