package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: May 21, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewDefaultValidator(logger *log.Logger) *defaultValidator
NewDefaultValidator returns a pointer to the new instance of defaultValidator
type Validator interface {
Validate(s interface{}) bool
}
Validator represents the validator interface
Source Files
¶
Click to show internal directories.
Click to hide internal directories.