Remove global method from Int64Slice Flag

main
Ajitem Sahasrabuddhe 5 years ago
parent a9d5b68df5
commit f12b8ca4e5
No known key found for this signature in database
GPG Key ID: 5B0EE10DAA76876C

@ -148,15 +148,6 @@ func (c *Context) Int64Slice(name string) []int64 {
return lookupInt64Slice(name, c.flagSet)
}
// GlobalInt64Slice looks up the value of a global Int64SliceFlag, returns
// nil if not found
func (c *Context) GlobalInt64Slice(name string) []int64 {
if fs := lookupGlobalFlagSet(name, c); fs != nil {
return lookupInt64Slice(name, fs)
}
return nil
}
func lookupInt64Slice(name string, set *flag.FlagSet) []int64 {
f := set.Lookup(name)
if f != nil {

Loading…
Cancel
Save