This repository has been archived on 2024-03-28. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
atsebay.t/flag.go
Pierre-Olivier Mercier 9807eeec1a
All checks were successful
continuous-integration/drone/push Build is passing
Add fallback authentication through Kerberos
2021-09-22 17:05:05 +02:00

16 lines
216 B
Go

package main
import (
"fmt"
)
type arrayFlags []string
func (i *arrayFlags) String() string {
return fmt.Sprintf("%v", *i)
}
func (i *arrayFlags) Set(value string) error {
*i = append(*i, value)
return nil
}