master v1.0.87
李光春 2 years ago
parent 1bb38af4d7
commit fbb4ccb197

@ -5,6 +5,7 @@ import (
"go.dtapp.net/dorm"
"go.dtapp.net/goip"
"go.dtapp.net/golog"
"log"
)
// client *dorm.GormClient
@ -122,6 +123,12 @@ func NewClient(config *ClientConfig) (*Client, error) {
c.mongoCreateCollectionTask(ctx)
c.mongoCreateIndexesTask(ctx)
} else {
return nil, mongoClientFunNoConfig
}
if c.config.debug {
log.Printf("[gojobs]:%+v\n", c)
}
return c, nil

@ -1,6 +1,6 @@
package gojobs
const (
Version = "1.0.86"
Version = "1.0.87"
SpecifyIpNull = "0.0.0.0"
)

Loading…
Cancel
Save