Go Articles
Learn gin Parameter Validation with the validator Library - This One Article Is Enough String Constraints excludesall: does not contain any of the UNICODE characters in the parameter, e.g. excludesall=ab
excludesrune: does not contain the rune specified by the parameter, e.g. excludesrune=asong
startswith: starts with the parameter substring, e.g. startswith=hi
endswith: ends with the parameter substring, e.g. endswith=bye
contains: contains the parameter substring, e.g. contains=email
containsany: contains any of the UNICODE characters in the parameter, e.g. containsany=ab