From f12b8ca4e52c0a13dd0b6a3e7d6fd2a26a3502aa Mon Sep 17 00:00:00 2001 From: Ajitem Sahasrabuddhe Date: Mon, 16 Sep 2019 12:17:30 +0530 Subject: [PATCH] Remove global method from Int64Slice Flag --- flag_int64_slice.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/flag_int64_slice.go b/flag_int64_slice.go index 5aa5e2a..41aa066 100644 --- a/flag_int64_slice.go +++ b/flag_int64_slice.go @@ -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 {