status-go/params/validator.go

11 lines
185 B
Go
Raw Permalink Normal View History

package params
import (
"gopkg.in/go-playground/validator.v9"
)
// NewValidator returns a new validator.Validate.
func NewValidator() *validator.Validate {
return validator.New()
}