初始化

This commit is contained in:
Yun
2026-05-25 22:59:09 +08:00
commit ec5d960a04
4 changed files with 38 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
package mongodbx
func NewMongodb(opts ...Option) {
options := defaultOptions()
for _, opt := range opts {
opt(options)
}
// TODO: connect to mongodb
}