2
0

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:
Jack Christensen
2020-02-19 10:48:09 -06:00
parent 282b7936a2
commit f3816bd1c0
76 changed files with 88 additions and 88 deletions
+2 -2
View File
@@ -12,8 +12,8 @@ func (dst *GenericBinary) Set(src interface{}) error {
return (*Bytea)(dst).Set(src)
}
func (dst *GenericBinary) Get() interface{} {
return (*Bytea)(dst).Get()
func (dst GenericBinary) Get() interface{} {
return (Bytea)(dst).Get()
}
func (src *GenericBinary) AssignTo(dst interface{}) error {