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
+1 -1
View File
@@ -62,7 +62,7 @@ func (dst *EnumArray) Set(src interface{}) error {
return nil
}
func (dst *EnumArray) Get() interface{} {
func (dst EnumArray) Get() interface{} {
switch dst.Status {
case Present:
return dst