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
@@ -64,7 +64,7 @@ func (dst *Float8Array) Set(src interface{}) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (dst *Float8Array) Get() interface{} {
|
||||
func (dst Float8Array) Get() interface{} {
|
||||
switch dst.Status {
|
||||
case Present:
|
||||
return dst
|
||||
|
||||
Reference in New Issue
Block a user