mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-11 18:53:41 +00:00
15 lines
217 B
Go
15 lines
217 B
Go
|
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
|
||
|
}
|