(untitled)

&#xA; Validating data in Go&#xA; # &#xA; &#xA; Mat Ryer&rsquo;s approach to&#xA; validating data in Go &#xA;is simple and elegant.&#xA;I have been using it extensively while building&#xA; WhyNotLog .&#xA;The idea is to define a Validator interface and&#xA;any type that implements this interface is validation-ready: &#xA; type Validator interface {&#xA; Validate() map[string]string&#xA;}&#xA; The…