This commit is contained in:
Livio Amstutz
2020-03-25 10:41:17 +01:00
parent 6bf96ecbd7
commit 1aaf721d92
5 changed files with 4 additions and 15 deletions

View File

@@ -0,0 +1,14 @@
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
}