mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 14:16:21 +00:00
7433828a26
* exposed ValidateNodeConfig() * extended NodeConfig interface with Validate() method * added validate tag to some NodeConfig fields
11 lines
185 B
Go
11 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()
|
|
}
|