Files
tecamino-dbm/models/stringSlices.go
2025-07-13 20:01:13 +02:00

15 lines
220 B
Go

package models
import "strings"
type StringSlice []string
func (s *StringSlice) String() string {
return strings.Join(*s, ",")
}
func (s *StringSlice) Set(value string) error {
*s = append(*s, value)
return nil
}