ipsn / go-libtor

Self-contained Tor from Go
BSD 3-Clause "New" or "Revised" License
544 stars 46 forks source link

error main.go:12:2: found packages libtor (libtor.go) and main (main.go) in /home/user/repos/go-libtor #29

Closed djieno closed 3 years ago

djieno commented 3 years ago

I had a small issue where I added a main.go in the root of the repo and tried to

go run main.go:
main.go:12:2: found packages libtor (libtor.go) and main (main.go) in /home/geising/repos/go-libtor

To resolve this: mkdir somenewfolder;mv main.go somenewfolder/main.go

Then it runs nicely! image