云数据库 GAUSSDB NOSQL-驱动包:驱动下载

时间:2023-11-10 12:13:54

驱动下载

建议使用go mod下载驱动

require go.mongodb.org/mongo-driver v1.7.6

go文件中导入:

import (
"go.mongodb.org/mongo-driver/bson"    
"go.mongodb.org/mongo-driver/mongo"    
"go.mongodb.org/mongo-driver/mongo/options"    
"go.mongodb.org/mongo-driver/mongo/readpref" 
)
support.huaweicloud.com/productdesc-nosql/nosql_05_0092.html