impl trim

This commit is contained in:
Bel LaPointe
2022-01-11 15:58:27 -05:00
parent ef3abbbf07
commit f28211e722
5 changed files with 7 additions and 0 deletions

View File

@@ -41,6 +41,10 @@ func GetAuth() (string, string, bool) {
return user, pass, user != "" && pass != ""
}
func GetTrim() string {
return conf.Get("trim").GetString()
}
func GetPort() string {
port := conf.Get("p").GetInt()
return ":" + fmt.Sprint(port)