package util // join with sep if arg is not empty func JoinWithSep(sep string, args ...string) (result string) { // l := len(args) for i, v := range args { if v != "" { if i > 0 { result = result + sep } result = result + v } } return result }