Open tithamane opened 5 years ago
I can get this working with go modules.
You shouldn't need go.mod/go.sum for this to work.
Can you share how you created your repo (the commands you ran), and where it is in relation to your GOPATH? I think you might have issues with it being in your GOPATH, based on the ../../../go/pkg
, I'd recommend moving it out of your GOPATH or trying export GO111MODULE=on
then building again.
I'm learning how to use go modules and trying to convert my project to use them but I'm getting an error from this package when try to build it.
When I run:
go get github.com/golang/freetype
then I getWhen I try to build my code I get
It could just be the fact that I'm not using these modules properly or maybe I need to restructure my code, I just though I should ask about this just in case it could help solve my problem.
If I can get it working again, I'll close this issue.