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

need help #33

Open
ghost opened this issue May 13, 2023 · 3 comments
Open

need help #33

ghost opened this issue May 13, 2023 · 3 comments

Comments

@ghost
Copy link

ghost commented May 13, 2023

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
Copy link

https://lmgtfy.com

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

go get -u github.com/valyala/fasthttp

@Egemenbdk
Copy link

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
Copy link

zerootoad commented Mar 10, 2024

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

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