aboutsummaryrefslogtreecommitdiff
path: root/uint16.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 /uint16.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 'uint16.go')
-rw-r--r--uint16.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/uint16.go b/uint16.go
index ec14ab0..ab1c1f9 100644
--- a/uint16.go
+++ b/uint16.go
@@ -19,10 +19,6 @@ func (i *uint16Value) Set(s string) error {
return err
}
-func (i *uint16Value) Get() interface{} {
- return uint16(*i)
-}
-
func (i *uint16Value) Type() string {
return "uint16"
}