Thanks, makes sense
On Friday, July 1, 2016 at 8:06:45 PM UTC-4, Caleb Spare wrote:
>
> https://golang.org/doc/faq#nil_error
>
> Make Validate return error, not MultiError.
>
> -Caleb
>
> On Fri, Jul 1, 2016 at 5:04 PM, Kevin Manley > wrote:
> > I am new to Go so I'm sure this is just me misu
https://golang.org/doc/faq#nil_error
Make Validate return error, not MultiError.
-Caleb
On Fri, Jul 1, 2016 at 5:04 PM, Kevin Manley wrote:
> I am new to Go so I'm sure this is just me misunderstanding how things work,
> but I was surprised at this result. Please can someone help me understand
I am new to Go so I'm sure this is just me misunderstanding how things
work, but I was surprised at this result. Please can someone help me
understand why the return value from Validate() is not seen as nil by the
caller, despite Validate() returning nil?
TIA, Kevin
https://play.golang.org/p/U