gokong
gokong copied to clipboard
import error for ory/dockertest pkg
- go version: go1.18.1 darwin/amd64
- os: masOS Big Sur 11.6.5
reproduce
- create
main.go
package main
import (
"github.com/kevholditch/gokong"
)
config := gokong.NewDefaultConfig()
-
go mod init
andgo mod tidy
go: finding module for package github.com/kevholditch/gokong
go: found github.com/kevholditch/gokong in github.com/kevholditch/gokong v6.0.0+incompatible
go: finding module for package github.com/satori/go.uuid
go: finding module for package github.com/google/go-querystring/query
go: finding module for package github.com/parnurzeal/gorequest
go: finding module for package github.com/phayes/freeport
go: finding module for package github.com/stretchr/testify/assert
go: finding module for package github.com/lib/pq
go: finding module for package gopkg.in/ory-am/dockertest.v3
go: found github.com/google/go-querystring/query in github.com/google/go-querystring v1.1.0
go: found github.com/parnurzeal/gorequest in github.com/parnurzeal/gorequest v0.2.16
go: found github.com/phayes/freeport in github.com/phayes/freeport v0.0.0-20220201140144-74d24b5ae9f5
go: found github.com/satori/go.uuid in github.com/satori/go.uuid v1.2.0
go: found github.com/stretchr/testify/assert in github.com/stretchr/testify v1.7.1
go: found github.com/lib/pq in github.com/lib/pq v1.10.5
go: found gopkg.in/ory-am/dockertest.v3 in gopkg.in/ory-am/dockertest.v3 v3.8.1
go: github.com/kaleocheng/demo imports
github.com/kevholditch/gokong tested by
github.com/kevholditch/gokong.test imports
github.com/kevholditch/gokong/containers imports
gopkg.in/ory-am/dockertest.v3: gopkg.in/ory-am/[email protected]: parsing go.mod:
module declares its path as: github.com/ory/dockertest/v3
but was required as: gopkg.in/ory-am/dockertest.v3
Same here using:
- go version go1.18.3 linux/amd64
- os: Ubuntu 18.04.6 LTS
Currently this prevents clean dependency management in underlaying project. Any possible workarounds?