method sets
1 article
-
Represent and transform data safely
Go Interfaces and Pointer Receivers: Does the Struct or Its Pointer Implement It?
If an interface requires a pointer-receiver method, pass a pointer to the struct: the struct value itself does not satisfy that interface.

