-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Description
Hi,
I followed the installation procedure described here, and it doesn't work.
Only the latest tag of the v1 library can be imported (v1.5.0) because the go.mod's module path is missing the /v2 suffix on the latest tag (v2.0.1).
And as shown in the installation procedure "getting started" example, the v1 library does not provide a github.com/sendinblue/APIv3-go-library/lib package so it can't be used.
Here's the output of a go mod tidy after running go get github.com/sendinblue/APIv3-go-library :
go: finding module for package github.com/sendinblue/APIv3-go-library/lib
my/repository imports
github.com/sendinblue/APIv3-go-library/lib: module github.com/sendinblue/APIv3-go-library@latest found (v1.5.0), but does not contain package github.com/sendinblue/APIv3-go-library/lib
And here's the result of running go get github.com/sendinblue/APIv3-go-library@v2.0.1 (forcing v2.0.1 tag) :
go: github.com/sendinblue/APIv3-go-library@v2.0.1: invalid version: module contains a go.mod file, so module path must match major version ("github.com/sendinblue/APIv3-go-library/v2")
Thanks.
PS: see issue #24 I believe it's the same problem
Metadata
Metadata
Assignees
Labels
No labels