Quieten go vet in mongo

This commit is contained in:
kortschak 2014-08-21 19:33:00 +09:30
parent 775a253a06
commit 93c9814147
2 changed files with 11 additions and 11 deletions

View file

@ -130,9 +130,9 @@ func (it *Iterator) Clone() graph.Iterator {
func (it *Iterator) Next() bool {
var result struct {
Id string "_id"
Added []int64 "Added"
Deleted []int64 "Deleted"
Id string `bson:"_id"`
Added []int64 `bson:"Added"`
Deleted []int64 `bson:"Deleted"`
}
found := it.iter.Next(&result)
if !found {