2022-07-05 12:38:39 +02:00
|
|
|
package advsql
|
|
|
|
|
|
|
|
import "fmt"
|
|
|
|
|
|
|
|
func connString(host string, port uint16, user, pass, db string) string {
|
2022-07-11 12:30:32 +02:00
|
|
|
return fmt.Sprintf("%s:%s@tcp(%s:%d)/%s?parseTime=true", user, pass, host, port, db)
|
2022-07-05 12:38:39 +02:00
|
|
|
}
|