oauth2_proxy/string_array.go
2014-11-09 20:33:12 -05:00

17 lines
215 B
Go

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