9 lines
181 B
Go
9 lines
181 B
Go
|
package mdbc
|
||
|
|
||
|
import "fmt"
|
||
|
|
||
|
// applyURI get mongo uri from address and port
|
||
|
func applyURI(address string, port int) string {
|
||
|
return fmt.Sprintf("mongodb://%s:%d", address, port)
|
||
|
}
|