This commit is contained in:
teddy
2025-04-21 11:58:12 +07:00
parent 4bfb6b4861
commit a69b44625e
7 changed files with 185 additions and 10 deletions

9
config/validator.go Normal file
View File

@@ -0,0 +1,9 @@
package config
import (
"github.com/go-playground/validator/v10"
)
func NewValidator() *validator.Validate {
return validator.New()
}