初始化
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
package mongodbx
|
||||
|
||||
func NewMongodb(opts ...Option) {
|
||||
options := defaultOptions()
|
||||
for _, opt := range opts {
|
||||
opt(options)
|
||||
}
|
||||
|
||||
// TODO: connect to mongodb
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user