You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
217 B
Go

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