Tag:Golang package management

  • Introduction of Mongo method in golang


    Preface The Mongo driver used by the author is mgo, which is used by many people and has complete documentation. Official address: http://labix.org/mgo Document address: https://godoc.org/labix.org/v2/mgo Source address: https://github.com/go-mgo/mgo 1. MgO package installation go get gopkg.in/mgo.v2 But it seems that you can’t download it from gopkg. in right now. Take a detour and download it […]