This repo is the code accompanying my article Configuring Custom Validations with Go Validator. Following the article, the first example you'll come across is in the simple directory, followed by custom-validations and global-custom-validations respectively.