status-go/params/validator.go

10 lines
185 B
Go

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