1
0
Fork 0
forked from External/ergo

Make channels synchronous.

This commit is contained in:
Jeremy Latt 2013-06-02 16:53:06 -07:00
parent 74aaf2f9d3
commit 0001131095
5 changed files with 7 additions and 7 deletions

View file

@ -29,7 +29,7 @@ type Server struct {
}
func NewServer(name string) *Server {
commands := make(chan Command, 1)
commands := make(chan Command)
server := &Server{
ctime: time.Now(),
name: name,