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

优化:go.mod module 使用全路径,优化 README #7

Open
cucurryx opened this issue May 10, 2022 · 2 comments
Open

优化:go.mod module 使用全路径,优化 README #7

cucurryx opened this issue May 10, 2022 · 2 comments

Comments

@cucurryx
Copy link

cucurryx commented May 10, 2022

  1. go.mod 中,module 定义没有包含仓库路径,建议采用:github.com/ngtrio/zenith。同时 go 文件中 impot 路径需要跟进修改
  2. README 和 README.en 中,安装方式使用更加现代的方式:
// go 1.17 或以上
go install github.com/ngtrio/CDDA-Zenith@main

// go 1.16 及以下
go get github.com/ngtrio/CDDA-Zenith@main

😉

@ngtrio
Copy link
Owner

ngtrio commented May 11, 2022

8 months ago, i am new to go
能跑就行,import的路径还能短一大截;)

@cucurryx
Copy link
Author

cucurryx commented May 11, 2022 via email

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