mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2024-11-24 08:52:25 +02:00
17 lines
215 B
Go
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, ",")
|
|
}
|