package attribute import "strings" import "strconv" type SpaceList []string func (l SpaceList) String() string { return strings.Join(l, " ") } type CommaList []string func (l CommaList) String() string { return strings.Join(l, ",") } type Float float32 func (f Float) String() string { return strconv.FormatFloat(float64(f), 'G', -1, 32) }