Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

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

Open
Vesli opened this issue Feb 10, 2020 · 4 comments
Open

Comments

@Vesli
Copy link

Vesli commented Feb 10, 2020

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

@gulien
Copy link
Contributor

gulien commented Feb 10, 2020

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

Thanks for the tip 👍

@gulien
Copy link
Contributor

gulien commented Feb 10, 2020

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

@Vesli
Copy link
Author

Vesli commented Feb 10, 2020

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

@gulien
Copy link
Contributor

gulien commented Feb 17, 2020

@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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants