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

bug: Incorrect package name causes dependency installation exception #9

Closed
shuaijinchao opened this issue Feb 14, 2022 · 2 comments · Fixed by #8
Closed

bug: Incorrect package name causes dependency installation exception #9

shuaijinchao opened this issue Feb 14, 2022 · 2 comments · Fixed by #8

Comments

@shuaijinchao
Copy link
Contributor

shuaijinchao commented Feb 14, 2022

Using xmm in the package name will cause abnormal installation of dependencies, it should be updated to github.com/heiyeluren/xmm

the error is as follows:

$ go mod vendor
go: finding module for package github.com/heiyeluren/xmm/src
go: found github.com/heiyeluren/xmm/src in github.com/heiyeluren/xmm v0.1.1
go: xmm/example imports
        github.com/heiyeluren/xmm/src: github.com/heiyeluren/[email protected]: parsing go.mod:
        module declares its path as: xmm
                but was required as: github.com/heiyeluren/xmm
@heiyeluren
Copy link
Owner

感谢意见~
目前已经修改了 go.mod 还有去掉了src目录~
后面操作建议是:
import( xmm "github.com/heiyeluren/xmm" )
最后xmm要小写哦~

然后可以:
go get github.com/heiyeluren/xmm

就可以在你程序里顺利使用 XMM 啦~ 感谢

@Zhang-Jun-tao
Copy link
Collaborator

最近版本已经解决了

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

Successfully merging a pull request may close this issue.

3 participants