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

🤔 Go 1.15 cannot find v2 package #824

Closed
liaohongxing opened this issue Sep 24, 2020 · 5 comments
Closed

🤔 Go 1.15 cannot find v2 package #824

liaohongxing opened this issue Sep 24, 2020 · 5 comments

Comments

@liaohongxing
Copy link
Contributor

When using "go run demo.go" in go1.15, it prompts that the package cannot be found

20200924142213

@welcome
Copy link

welcome bot commented Sep 24, 2020

Thanks for opening your first issue here! 🎉 Be sure to follow the issue template! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord

@WLun001
Copy link
Contributor

WLun001 commented Sep 24, 2020

@liaohongxing how is your app.go looks like?

@Fenny
Copy link
Member

Fenny commented Sep 24, 2020

Try to use Go modules

go mod init <app_name>
go mod tidy

Related issue #788

@Fenny Fenny changed the title go 1.15 cannot find package "github.com/gofiber/fiber/v2" 🤔 Go 1.15 cannot find v2 package Sep 24, 2020
@liaohongxing
Copy link
Contributor Author

Thanks, the problem has been resolved.

@liaohongxing
Copy link
Contributor Author

I’m an expressjs developer, and I’m trying out golang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants