Compare commits
2 Commits
mongo/v0.0
...
main
Author | SHA1 | Date |
---|---|---|
王性驊 | c03b65c693 | |
王性驊 | 7952af6782 |
|
@ -7,7 +7,6 @@ type Conf struct {
|
|||
User string
|
||||
Password string
|
||||
Host string
|
||||
Port string
|
||||
Database string
|
||||
ReplicaName string
|
||||
MaxStaleness time.Duration
|
||||
|
|
|
@ -34,7 +34,7 @@ func NewDocumentDB(config *Conf, collection string, opts ...mon.Option) (Documen
|
|||
connectionStringTemplate,
|
||||
config.Schema,
|
||||
authenticationURI,
|
||||
fmt.Sprintf("%s:%s", config.Host, config.Port),
|
||||
config.Host,
|
||||
)
|
||||
|
||||
connectUri, _ := url.Parse(connectionURI)
|
||||
|
|
|
@ -2,7 +2,7 @@ package invited_code
|
|||
|
||||
const (
|
||||
DefaultCodeLen = 8
|
||||
InitAutoId = 10000000
|
||||
InitAutoID = 10000000
|
||||
)
|
||||
|
||||
var ConvertTable = []string{
|
||||
|
|
Loading…
Reference in New Issue