-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Why net.Addr is fiber.testAddr, not *net.TCPAddr?🤗 #1574
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 |
Hello, I have the same error. How can I fix it?? |
Hi @ReneWerner87, This is the public repo with all the code: We test the error on: Distributor ID: Ubuntu Go Version: go version go1.17.6 linux/amd64 Thank you very much! |
thanks for the example, now i see the problem and will work on a fix |
Question description
I use app.Test for unit testing, but
panic: interface conversion: net.Addr is fiber.testAddr, not *net.TCPAddr
is reportedCode snippet Optional
initialize.go of InitTrancer
router.go
middlerware.go
How should I deal with this situation?
The text was updated successfully, but these errors were encountered: