update
This commit is contained in:
9
config/validator.go
Normal file
9
config/validator.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"github.com/go-playground/validator/v10"
|
||||
)
|
||||
|
||||
func NewValidator() *validator.Validate {
|
||||
return validator.New()
|
||||
}
|
||||
Reference in New Issue
Block a user