How to Create a Central Input Data Validator in Golang