Fiber: 馃 Go 1.15 cannot find v2 package

Created on 24 Sep 2020  路  5Comments  路  Source: gofiber/fiber

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

20200924142213

馃 Question

Most helpful comment

Try to use Go modules

go mod init <app_name>
go mod tidy

Related issue https://github.com/gofiber/fiber/issues/788

All 5 comments

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

@liaohongxing how is your app.go looks like?

Try to use Go modules

go mod init <app_name>
go mod tidy

Related issue https://github.com/gofiber/fiber/issues/788

Thanks, the problem has been resolved.

I鈥檓 an expressjs developer, and I鈥檓 trying out golang

Was this page helpful?
0 / 5 - 0 ratings