jung-kurt / gofpdf

A PDF document generator with high level support for text, drawing and images
http://godoc.org/github.com/jung-kurt/gofpdf
MIT License
4.29k stars 772 forks source link

Can't "go get": `malformed module path "gofpdf"` #300

Closed koinu closed 4 years ago

koinu commented 4 years ago
➜  projects mkdir foo
➜  projects cd foo
➜  foo go mod init foo
go: creating new go.mod: module foo
➜  foo go get github.com/jung-kurt/gofpdf

go get: github.com/jung-kurt/gofpdf@v1.12.0 requires
    gofpdf@v0.0.0-00010101000000-000000000000: malformed module path "gofpdf": missing dot in first path element
➜  foo go version
go version go1.13 darwin/amd64
cwimberger commented 4 years ago

Same issue here, @koinu do you have a workaround?

jung-kurt commented 4 years ago

Try

go get github.com/jung-kurt/gofpdf@v1.12.1

I'm still trying to track down the root issue of this problem. I think it has to do with a circular dependency in contrib/gofpdi.

cwimberger commented 4 years ago

It works now, thanks!