15 lines
217 B
Go
Raw Normal View History

2020-03-25 07:58:58 +01:00
package config
import "strings"
type ArrayFlags []string
func (i *ArrayFlags) String() string {
return strings.Join(*i, ";")
}
func (i *ArrayFlags) Set(value string) error {
*i = append(*i, value)
return nil
}