diff options
| author | Eric Paris <[email protected]> | 2015-06-01 17:16:19 -0400 |
|---|---|---|
| committer | Eric Paris <[email protected]> | 2015-06-01 17:16:19 -0400 |
| commit | c87d53dfe15155eb0e930d4369603db4ca16c1ea (patch) | |
| tree | 236b952dd60ffda3448f13fe7c48658628ed3f19 /uint32.go | |
| parent | 8a0b846eb11d294deee8f68f697d48ac62aa372f (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 'uint32.go')
| -rw-r--r-- | uint32.go | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -18,9 +18,6 @@ func (i *uint32Value) Set(s string) error { *i = uint32Value(v) return err } -func (i *uint32Value) Get() interface{} { - return uint32(*i) -} func (i *uint32Value) Type() string { return "uint32" |
