You're going to have to either ask more targeted questions about where you're stuck, and/or post a valiant effort I think before more people will be willing to help you on this list.
There are tons of client/server examples out on the internet - just search for them (ex. golang tcp server client).
As a nudge(and, in case this shows up in a search result one day) , here's the documentation for the net package which includes a full tcp listener example -
http://golang.org/pkg/net/
Good luck, and post back if you have any questions after you've given it a shot.
Regards,
Alex