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

building problem #92

Open
Zibri opened this issue Aug 21, 2023 · 3 comments
Open

building problem #92

Zibri opened this issue Aug 21, 2023 · 3 comments

Comments

@Zibri
Copy link

Zibri commented Aug 21, 2023

I do:
git clone github.com/fanpei91/torsniff
cd torsniff
go build
go: cannot find main module, but found vendor/vendor.json in /root/torsniff
to create a module there, run:
go mod init

@liujianpc
Copy link

liujianpc commented Aug 21, 2023 via email

@Dobatymo
Copy link

Dobatymo commented Nov 8, 2024

I ran

go mod init
go mod tidy
go mod vendor

first. Then the build succeeded!
Using go version go1.23.3 windows/amd64.

@liujianpc
Copy link

liujianpc commented Nov 8, 2024 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

3 participants