找到了解决方案:
var results []client err := db.C("client").Find(nil).All(&results) if err != nil { // TODO: Do something about the error } else { fmt.Println("Results All: ", results) }
找到了解决方案:
var results []client err := db.C("client").Find(nil).All(&results) if err != nil { // TODO: Do something about the error } else { fmt.Println("Results All: ", results) }