Commit 8f6dc2ca authored by Sushant Mahajan's avatar Sushant Mahajan

modified test client to remove the main method so testing file is happy

parent dd34a57e
......@@ -23,7 +23,7 @@ func doRead(conn net.Conn) {
}
}
func main() {
func tempmain() {
conn, err := net.Dial("tcp", "localhost:5000")
die = false
go doRead(conn)
......@@ -33,6 +33,7 @@ func main() {
}
reader := bufio.NewReader(os.Stdin)
for {
if die {
break
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment