mikejs / gomongo

Go driver for MongoDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install error with net.ResolveTCPAddr

xarg opened this issue · comments

I'm using the latest build of go from hg repo. And when I try to install gomongo here it is:

$ goinstall github.com/mikejs/gomongo/mongo
goinstall: === cd /home/alex/Projects/other/go/src/pkg/github.com/mikejs/gomongo/mongo; gomake -f- install
8g -o go.8 bson.go cursor.go main.go connection.go message.go bson-struct.go collection.go database.go
connection.go:31: not enough arguments in call to net.ResolveTCPAddr
bson-struct.go:25: undefined: reflect.MapValue
bson-struct.go:32: cannot type switch on non-interface value v (type reflect.Value)
bson-struct.go:33: undefined: reflect.FloatValue
bson-struct.go:40: cannot type switch on non-interface value v (type reflect.Value)
bson-struct.go:41: undefined: reflect.FloatValue
bson-struct.go:42: cannot use f (type float64) as type reflect.Value in function argument
bson-struct.go:47: cannot type switch on non-interface value v (type reflect.Value)
bson-struct.go:48: undefined: reflect.IntValue
bson-struct.go:49: cannot use i (type int64) as type reflect.Value in function argument
bson-struct.go:49: too many errors
make: *** [go.8] Error 1
--- exit status 2
goinstall: installing github.com/mikejs/gomongo/mongo: running gomake: exit status 2