advsql/utils.go
Timon Ringwald d6e73f69c0 rewrite
2022-07-05 12:38:39 +02:00

8 lines
177 B
Go

package advsql
import "fmt"
func connString(host string, port uint16, user, pass, db string) string {
return fmt.Sprintf("%s:%s@tcp(%s:%d)/%s", user, pass, host, port, db)
}