aboutsummaryrefslogtreecommitdiff
path: root/ipmask.go
diff options
context:
space:
mode:
authorEric Paris <[email protected]>2015-06-01 17:16:19 -0400
committerEric Paris <[email protected]>2015-06-01 17:16:19 -0400
commitc87d53dfe15155eb0e930d4369603db4ca16c1ea (patch)
tree236b952dd60ffda3448f13fe7c48658628ed3f19 /ipmask.go
parent8a0b846eb11d294deee8f68f697d48ac62aa372f (diff)
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...
Diffstat (limited to 'ipmask.go')
-rw-r--r--ipmask.go3
1 files changed, 0 insertions, 3 deletions
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"