3 ms·
> I think we all can agree that these lines are repetitive and even error-prone to some degree. I don't agree. I'll take if-statements over a validation librar
by buchanae 8y ago
> I think we all can agree that these lines are repetitive and even error-prone to some degree.
I don't agree. I'll take if-statements over a validation library 99% of the time.
This is how we validation a message coming into our REST+JSON API: https://github.com/ohsu-comp-bio/funnel/blob/master/tes/validate.go https://github.com/ohsu-comp-bio/funnel/blob/master/tes/vali...