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