initial import
This commit is contained in:
9
core/stores/mongo/util.go
Normal file
9
core/stores/mongo/util.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package mongo
|
||||
|
||||
import "strings"
|
||||
|
||||
const mongoAddrSep = ","
|
||||
|
||||
func FormatAddr(hosts []string) string {
|
||||
return strings.Join(hosts, mongoAddrSep)
|
||||
}
|
||||
Reference in New Issue
Block a user