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

slices package not found #4128

Open
wangqing-github opened this issue Dec 30, 2024 · 3 comments
Open

slices package not found #4128

wangqing-github opened this issue Dec 30, 2024 · 3 comments

Comments

@wangqing-github
Copy link

when i execute go get: go get -u github.com/gin-gonic/gin

error msg:
gogogo/gin imports
github.com/gin-gonic/gin imports
golang.org/x/net/http2 tested by
golang.org/x/net/http2.test imports
slices: no Go source files

image

The project won't start
7e6047d6423f46c52ba44108a8a869fe

After I removed the reference to gin, the project returned to normal

@VarusHsu
Copy link

The slices package was moved from the experimental library to the standard library in go version 1.21.
You can upgrade go version later than 1.21 or downgrade gin version.

@VarusHsu
Copy link

It's seem that upgrade go version is a better way.

@wangqing-github
Copy link
Author

It's seem that upgrade go version is a better way.

OK thanks

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

2 participants