DEV Community

Discussion on: Go zero values finally hit me

Collapse
 
rhymes profile image
rhymes

Maybe someone can spot it and explain it to me? ;)

That going through a tutorial is worth it :D

by the way you can further simplify that with:

test.Pass = len(test.Passes) > 0 && len(test.Fails) == 0

:D