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 get 出现错误 #13

Closed
luotianzhu opened this issue Mar 8, 2020 · 1 comment
Closed

go get 出现错误 #13

luotianzhu opened this issue Mar 8, 2020 · 1 comment

Comments

@luotianzhu
Copy link

go get: github.com/dengsgo/[email protected]: parsing go.mod:
module declares its path as: fileboy
but was required as: github.com/dengsgo/fileboy

@dengsgo
Copy link
Owner

dengsgo commented Mar 9, 2020

这个 repo 不是一个库,不能被 import.

尝试执行下面的命令来编译:

git clone https://github.com/dengsgo/fileboy.git
cd fileboy
export GO111MODULE=on  
go env -w GOPROXY=https://goproxy.io,direct
go get -u 
go build
./fileboy

@dengsgo dengsgo closed this as completed Jul 24, 2020
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