10 lines
161 B
Go
10 lines
161 B
Go
|
package conf
|
||
|
|
||
|
import (
|
||
|
"github.com/go-playground/validator/v10"
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
validate *validator.Validate = validator.New(validator.WithRequiredStructEnabled())
|
||
|
)
|