imvast / Capmonster-Checker

key gen+checker for capmonster
53 stars 9 forks source link

need help #33

Open ghost opened 1 year ago

ghost commented 1 year ago

it saying 2: cannot find package "github.com/valyala/fasthttp" in any of: /usr/lib/go-1.15/src/github.com/valyala/fasthttp (from $GOROOT) /root/go/src/github.com/valyala/fasthttp (from $GOPATH)

QuartzWarrior commented 1 year ago

https://lmgtfy.com

https://github.com/valyala/fasthttp#install

go get -u github.com/valyala/fasthttp

Egemenbdk commented 1 year ago

go: go.mod file not found in current directory or any parent directory. 'go get' is no longer supported outside a module. To build and install a command, use 'go install' with a version, like 'go install example.com/cmd@latest' For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help get' or 'go help install'.

zerootoad commented 7 months ago

use go mod init main.go then go get github.com/valyala/fasthttp @Egemenbdk