package api import "github.com/go-playground/validator/v10" var validate *validator.Validate func InitValidator() { validate = validator.New() }