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) { ...@@ -23,7 +23,7 @@ func doRead(conn net.Conn) {
} }
} }
func main() { func tempmain() {
conn, err := net.Dial("tcp", "localhost:5000") conn, err := net.Dial("tcp", "localhost:5000")
die = false die = false
go doRead(conn) go doRead(conn)
...@@ -33,6 +33,7 @@ func main() { ...@@ -33,6 +33,7 @@ func main() {
} }
reader := bufio.NewReader(os.Stdin) reader := bufio.NewReader(os.Stdin)
for { for {
if die { if die {
break 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