Golang+MongoDB實現的增刪改查demo

package main import ( "fmt" "gopkg.in/mgo.v2" "gopkg.in/mgo.v2/bson" ) type Person struct { NAME string PHONE string } type Men struct { Persons []Person } const ( URL = "localhost:27017" /
相關文章
相關標籤/搜索