package initApp import ( "DataShare/global" "github.com/go-playground/validator/v10" ) func ValidatorInit(){ global.DataValidator = validator.New() }