Skip to content

Unable to download v2.0.1 or use v1.5.0 #28

@wazazaby

Description

@wazazaby

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions