Get implemented on T instead of *T
Methods defined on T are also available on *T. Thought this technically
changes the interface, because *T will be automatically dereferenced as
needed it shouldn't be a breaking change.
See a8802b16cc for similar change.
This commit is contained in:
+1
-1
@@ -84,7 +84,7 @@ func (dst *InetArray) Set(src interface{}) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (dst *InetArray) Get() interface{} {
|
||||
func (dst InetArray) Get() interface{} {
|
||||
switch dst.Status {
|
||||
case Present:
|
||||
return dst
|
||||
|
||||
Reference in New Issue
Block a user