oleiade / Elevator

Elevator is an open source, on-disk key-value store. Provides high-performance bulk read-write operations over very large datasets while exposing a simple and efficient API.
http://elevator.readthedocs.org
MIT License
71 stars 12 forks source link

Invalid types in server.go #149

Closed fsroque closed 11 years ago

fsroque commented 11 years ago

When compiling from source:

../server.go:27: cannot use &socket (type **gozmq.Socket) as type *gozmq.Socket in return argument
../server.go:63: cannot use *socket (type gozmq.Socket) as type *gozmq.Socket in field value
fsroque commented 11 years ago

Compiles with:

server.go:27              return socket, nil
server.go:63        zmq.PollItem{Socket: socket, zmq.Events: zmq.POLLIN},
oleiade commented 11 years ago

Fix seems to work, I can't reproduce the problem anymore. Closing the issue for now.