cannto find package
Hi,
How can I resolve this issue: (tested on ubuntu18)
main.go:17:2: cannot find package "github.com/dimiro1/banner" in any of: /usr/lib/go-1.10/src/github.com/dimiro1/banner (from $GOROOT) /home/forensics/go/src/github.com/dimiro1/banner (from $GOPATH) main.go:18:2: cannot find package "github.com/fatih/color" in any of: /usr/lib/go-1.10/src/github.com/fatih/color (from $GOROOT) /home/forensics/go/src/github.com/fatih/color (from $GOPATH) main.go:19:2: cannot find package "github.com/mattn/go-colorable" in any of: /usr/lib/go-1.10/src/github.com/mattn/go-colorable (from $GOROOT) /home/forensics/go/src/github.com/mattn/go-colorable (from $GOPATH) main.go:20:2: cannot find package "github.com/olekukonko/tablewriter" in any of: /usr/lib/go-1.10/src/github.com/olekukonko/tablewriter (from $GOROOT) /home/forensics/go/src/github.com/olekukonko/tablewriter (from $GOPATH) main.go:21:2: cannot find package "github.com/schollz/progressbar/v3" in any of: /usr/lib/go-1.10/src/github.com/schollz/progressbar/v3 (from $GOROOT) /home/forensics/go/src/github.com/schollz/progressbar/v3 (from $GOPATH) main.go:12:2: cannot find package "main/modules" in any of: /usr/lib/go-1.10/src/main/modules (from $GOROOT) /home/forensics/go/src/main/modules (from $GOPATH)
Can you run go mod tidy ?
Hi,
ofcourse
I run go mod tidy and I got: "unknown subcommand" I had go version 1.10
so I installed the latest version 1.18.2 and run it again: go mod tidy
then I run the command: go run main.go -e [email protected] -all
and I got the following error:
| '_ ` _ \ / _ \ / | | | | ' \ | | | | | | | | | () | _ \ | | | | | | | | || || |_| _/ |/ || || || __|
v2.1 https://github.com/alpkeskin/ Now: Monday, 30 May 2022
mosinting 20% |███████ | (20/100, 10 it/s) [2s:8s]Traceback (most recent call last):
File "modules/SocialScan.py", line 5, in
goroutine 1 [running]: main/modules.doRequest({0xc001b664e0, 0x52}, {0xa6742a, 0x7}) /home/forensics/Desktop/mosint/modules/ThreatCrowd.go:28 +0x670 main/modules.RelatedDomains(...) /home/forensics/Desktop/mosint/modules/ThreatCrowd.go:52 main.main() /home/forensics/Desktop/mosint/main.go:263 +0xc2b exit status 2
The same error:
main/modules.doRequest({0xc001c491d0, 0x45}, {0xa64dfc, 0x6})
/home/fancypig/Desktop/mosint/modules/ThreatCrowd.go:31 +0x705
main/modules.RelatedEmails({0x7fffb91223c5?, 0xd?})
/home/fancypig/Desktop/mosint/modules/ThreatCrowd.go:59 +0x65
main.main()
/home/fancypig/Desktop/mosint/main.go:261 +0xbcd
exit status 2
Hi, new version released 🚀