mikejs / gomongo

Go driver for MongoDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

goinstall error

devmario opened this issue · comments

devMario-iMac:~ artieyoon_VB$ goinstall github.com/mikejs/gomongo/mongo
/bin/bash: === cd /Users/artieyoon_VB/Documents/go/src/pkg/github.com/mikejs/gomongo/mongo; bash gomake -f- install
6g -I "/Users/artieyoon_VB/Documents/go/pkg/darwin_amd64" -I "/Users/artieyoon_VB/Documents/go/pkg/darwin_amd64" -o go.6 bson-struct.go bson.go collection.go connection.go cursor.go database.go main.go message.go
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:50: undefined: reflect.UintValue
bson-struct.go:51: cannot use uint64(i) (type uint64) as type reflect.Value in function argument
bson-struct.go:61: self.map_ undefined (type structBuilder has no field or method map)
bson-struct.go:62: self.map_ undefined (type *structBuilder has no field or method map_)
bson-struct.go:82: invalid type assertion: self.val.(_reflect.PtrValue) (non-interface type reflect.Value on left)
bson-struct.go:83: undefined: reflect.NewValue
bson-struct.go:117: invalid type assertion: self.val.(_reflect.StringValue) (non-interface type reflect.Value on left)
bson-struct.go:127: invalid type assertion: self.val.(_reflect.StringValue) (non-interface type reflect.Value on left)
bson-struct.go:136: invalid type assertion: self.val.(_reflect.BoolValue) (non-interface type reflect.Value on left)
bson-struct.go:145: invalid type assertion: self.val.(_reflect.SliceValue) (non-interface type reflect.Value on left)
bson-struct.go:160: invalid type assertion: self.val.(_reflect.SliceValue) (non-interface type reflect.Value on left)
bson-struct.go:171: cannot type switch on non-interface value self.val (type reflect.Value)
bson-struct.go:172: undefined: reflect.ArrayValue
bson-struct.go:174: too many arguments in call to v.Value.Elem
bson-struct.go:176: undefined: reflect.SliceValue
bson-struct.go:185: undefined: reflect.SliceType
bson-struct.go:193: too many arguments in call to v.Value.Elem
bson-struct.go:203: invalid type assertion: self.val.(reflect.PtrValue) (non-interface type reflect.Value on left)
bson-struct.go:205: undefined: reflect.MakeZero
bson-struct.go:208: self.map
undefined (type structBuilder has no field or method map)
bson-struct.go:211: invalid type assertion: self.val.(_reflect.MapValue) (non-interface type reflect.Value on left)
bson-struct.go:220: cannot type switch on non-interface value reflect.Indirect(self.val) (type reflect.Value)
bson-struct.go:221: undefined: reflect.StructValue
bson-struct.go:222: undefined: reflect.StructType
bson-struct.go:230: undefined: reflect.MapValue
bson-struct.go:231: undefined: reflect.MapType
bson-struct.go:232: undefined: reflect.Typeof
bson-struct.go:235: undefined: reflect.NewValue
bson-struct.go:236: too many arguments in call to v.Value.Elem
bson-struct.go:237: cannot convert nil to type reflect.Value
bson-struct.go:238: v.SetElem undefined (type reflect.Value has no field or method SetElem)
bson-struct.go:238: too many errors
make: *** [go.6] Error 1
--- exit status 2
goinstall: github.com/mikejs/gomongo/mongo: install: running bash: exit status 2