Closed wathenjiang closed 2 years ago
You provide nothing here and expect me to pick up mistakes?
You provide nothing here and expect me to pick up mistakes?
I means you uesed smallnest/goframe to implement a tcp client, but now cloud use client in gnet.
You not yet provided a quite simple client example in gnet.
Oh sorry, this is a PR, I thought it's an issue.
Have you tested your new code? Did it work? @Spongecaptain
@panjf2000 I have tested it and it worked well. Turning smallnest/goframe to client.go in gnet just a little bit amendment.
You can find commands by:
&&
Why is go.mod
changed so much? did you run go mod tidy
before opening this PR? @Spongecaptain
Why is
go.mod
changed so much? did you rungo mod tidy
before opening this PR? @Spongecaptain
I did run the go mod tidy.
Thanks~
As Gnet client is now available for production, we could use client in gnet instead.
But I'm not 100% sure I use client.go correctly, please let me know if there are any mistakes.