Capmonster-Checker icon indicating copy to clipboard operation
Capmonster-Checker copied to clipboard

need help

Open ghost opened this issue 1 year ago • 3 comments

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)

ghost avatar May 13 '23 23:05 ghost

https://lmgtfy.com

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

go get -u github.com/valyala/fasthttp

QuartzWarrior avatar May 18 '23 15:05 QuartzWarrior

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'.

Egemenbdk avatar Jul 27 '23 16:07 Egemenbdk

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

zerootoad avatar Mar 10 '24 09:03 zerootoad