From c87d53dfe15155eb0e930d4369603db4ca16c1ea Mon Sep 17 00:00:00 2001 From: Eric Paris Date: Mon, 1 Jun 2015 17:16:19 -0400 Subject: Remove Value.Get() interfaces These were only defined for a couple for flag types (ip, ipmask, uint16, uint32) and weren't used anywhere. If you already knew the type well enough to know that it was one of the few with a Get() interface, you could cast yourself out of the Value... --- ipmask.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'ipmask.go') diff --git a/ipmask.go b/ipmask.go index 6f85be9..09b9533 100644 --- a/ipmask.go +++ b/ipmask.go @@ -22,9 +22,6 @@ func (i *ipMaskValue) Set(s string) error { *i = ipMaskValue(ip) return nil } -func (i *ipMaskValue) Get() interface{} { - return net.IPMask(*i) -} func (i *ipMaskValue) Type() string { return "ipMask" -- cgit v1.2.3