Sum/Union/Variant Type in Go and Static Check Tool of switch-case handling

I’ll introduce how to represent sum/union/variant(-like) type in Go first. Then, I’ll introduce ‘gosumcheck’, which is a static lint tool…