-
Notifications
You must be signed in to change notification settings - Fork 8k
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
Strange, the router is not registered #4008
Comments
I tried using the new version of go and was able to start the service successfully use go version go1.22.5 darwin/amd64 output: [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] GET / --> main.main.func1 (3 handlers)
[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.
Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details.
[GIN-debug] Listening and serving HTTP on :8080 |
I can't reproduce this issue on the conditions you provided |
Indeed, this is a very strange question |
yea i couldn't replicate it either |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The gin code doesn't work, the router isn't registered and printed, and it doesn't panic
How to reproduce
Expectations
Actual result
Environment
The text was updated successfully, but these errors were encountered: