adamant-kite-43734
11/15/2023, 7:58 PMambitious-restaurant-32720
11/16/2023, 2:47 PMgo.mod
, go.sum
, main.go
The go.mod
file shows how I had to pin the library at the current master
branch commit
if you were to remove the commit hash, versioning the lib at v3.0.1-rc0
or even 3.0.0
and do a go mod tidy
, you will get the following error:
❯ go mod tidy
go: downloading github.com/hobbyfarm/gargantua/v3 v3.0.1-rc0
go: app imports
github.com/hobbyfarm/gargantua/v3/pkg/client/clientset/versioned: go.mod has non-.../v3 module path "github.com/hobbyfarm/gargantua" (and .../v3/go.mod does not exist) at revision v3.0.1-rc0
go: app imports
k8s.io/apimachinery/pkg/apis/meta/v1 imports
k8s.io/apimachinery/pkg/runtime tested by
k8s.io/apimachinery/pkg/runtime.test imports
github.com/stretchr/testify/assert: github.com/hobbyfarm/gargantua/v3@v3.0.1-rc0: go.mod has non-.../v3 module path "github.com/hobbyfarm/gargantua" (and .../v3/go.mod does not exist) at revision v3.0.1-rc0
go: app imports
k8s.io/apimachinery/pkg/apis/meta/v1 imports
k8s.io/apimachinery/pkg/runtime tested by
k8s.io/apimachinery/pkg/runtime.test imports
github.com/stretchr/testify/require: github.com/hobbyfarm/gargantua/v3@v3.0.1-rc0: go.mod has non-.../v3 module path "github.com/hobbyfarm/gargantua" (and .../v3/go.mod does not exist) at revision v3.0.1-rc0
go: app imports
k8s.io/apimachinery/pkg/apis/meta/v1 imports
k8s.io/apimachinery/pkg/runtime imports
sigs.k8s.io/structured-merge-diff/v4/value imports
gopkg.in/yaml.v2 tested by
gopkg.in/yaml.v2.test imports
gopkg.in/check.v1: github.com/hobbyfarm/gargantua/v3@v3.0.1-rc0: go.mod has non-.../v3 module path "github.com/hobbyfarm/gargantua" (and .../v3/go.mod does not exist) at revision v3.0.1-rc0