Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module declares its path as: github.com/kong/go-kong ? #208

Open
zzcarvin opened this issue Sep 9, 2022 · 2 comments
Open

module declares its path as: github.com/kong/go-kong ? #208

zzcarvin opened this issue Sep 9, 2022 · 2 comments

Comments

@zzcarvin
Copy link

zzcarvin commented Sep 9, 2022

go get github.com/Kong/go-kong

go: github.com/Kong/[email protected]: parsing go.mod:
module declares its path as: github.com/kong/go-kong
but was required as: github.com/Kong/go-kong

why?

@zzcarvin
Copy link
Author

zzcarvin commented Sep 9, 2022

add go.mod ==> github.com/Kong/go-kong v0.31.1

go mod tidy

get
go: finding module for package github.com/Kong/go-kong/kong
go: found github.com/Kong/go-kong/kong in github.com/Kong/go-kong v0.31.1
go: xxx/kong/service imports
github.com/Kong/go-kong/kong: github.com/Kong/[email protected]: parsing go.mod:
module declares its path as: github.com/kong/go-kong
but was required as: github.com/Kong/go-kong
@rgiaviti
@vbehar
@voigtjr
@kikito
@DMarby

@pmalek
Copy link
Member

pmalek commented Sep 9, 2022

Hi @zzcarvin 👋

Have you tried using the import path as indicated in the README.md?

$ go get github.com/kong/go-kong/kong
go: downloading github.com/imdario/mergo v0.3.12
go: added github.com/blang/semver/v4 v4.0.0
go: added github.com/google/go-querystring v1.1.0
go: added github.com/imdario/mergo v0.3.12
go: added github.com/kong/go-kong v0.31.1
go: added github.com/mitchellh/mapstructure v1.5.0
go: added github.com/tidwall/gjson v1.14.3
go: added github.com/tidwall/match v1.1.1
go: added github.com/tidwall/pretty v1.2.0
$ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants