golang中使用mongodb
摘要:一、mongodb封装代码 var client *mongo.Client func NewMongoDB(ctx context.Context, appUri string) error { //连接到mongodb c, err := mongo.Connect(ctx, options.C
阅读全文
posted @ 2022-07-22 11:49
浙公网安备 33010602011771号