Hello Gophers,

I created a TCP server that gets all the requests from the client and 
replies, however, when I try to append those requests in a slice, *the next 
request erases the previous one.*

*The server should get requests and continuously save them in a slice for 
future manipulation.*

*here is the code: https://play.golang.org/p/iooHSaoUFS4  
<https://play.golang.org/p/iooHSaoUFS4>*


please help me to fix it...


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/9211b53e-d3b2-4fdb-81a3-84bb757a585f%40googlegroups.com.

Reply via email to