gotenberg-go-client icon indicating copy to clipboard operation
gotenberg-go-client copied to clipboard

cannot find package github.com/thecodingmachine/gotenberg-go-client/v7

Open Vesli opened this issue 5 years ago • 4 comments

go version go1.13.5 darwin/amd64

following the doc I ran:

go get -u github.com/thecodingmachine/gotenberg-go-client/v7

which produced:

package github.com/thecodingmachine/gotenberg-go-client/v7: cannot find package "github.com/thecodingmachine/gotenberg-go-client/v7" in any of:
	/usr/local/go/src/github.com/thecodingmachine/gotenberg-go-client/v7 (from $GOROOT)
	/Users/jean-charlespassepont/go/src/github.com/thecodingmachine/gotenberg-go-client/v7 (from $GOPATH)

but it's including well with go mods. You might want to update the README

Vesli avatar Feb 10 '20 16:02 Vesli

Yes indeed I should specify that this command works with go mods.

Thanks for the tip 👍

gulien avatar Feb 10 '20 16:02 gulien

@Vesli if you want, you could open a PR on the main repository with the documentation updates 😄

gulien avatar Feb 10 '20 17:02 gulien

That would be a first time for me, ok I'll try :D

Vesli avatar Feb 10 '20 17:02 Vesli

@Vesli actually I've just tested it on a "blank" project and it works just fine:

$ go get -u github.com/thecodingmachine/gotenberg-go-client/v7
go: finding github.com/thecodingmachine/gotenberg-go-client/v7 v7.1.0
go: downloading github.com/thecodingmachine/gotenberg-go-client/v7 v7.1.0
go: extracting github.com/thecodingmachine/gotenberg-go-client/v7 v7.1.0

Are you using Go Modules or a more traditional $GOPATH?

gulien avatar Feb 17 '20 08:02 gulien