Closed switchupcb closed 1 year ago
This issue is caused because the tag uses v10
, which indicates that to go get
that a major version is being used. However, the import is not go get github.com/switchupcb/disgo@v10.0.0
. The main issue is that I tested this with dasgo
, and using go get github.com/switchupcb/dasgo/v10@v10
or github.com/switchupcb/dasgo/v10@v10.X
fails because of semantics described in https://github.com/golang/go/issues/33010 and https://github.com/golang/go/issues/29731. So now I am deciding between the following choices:
v1.X.X
to avoid any major versioning issues caused by semantics that are enforced by Google.So now I will be implementing that change to dasgo
and disgo
which involves updating tags.
Using
go get github.com/switchupcb/disgo@v10.0.0
will result in an errorgo: github.com/switchupcb/disgo@v10.0.0: invalid version: module contains a go.mod file, so module path must match major version ("github.com/switchupcb/disgo/v10")
.This is due to a feature in one of these documents.
The fix may involve a few commits due to the fact that the repository needs to be recognized prior to being importable, but there are packages that require the main disgo package to be imported.