func Text(value string, name ...string) Engine {
	var obj Engine
	obj.value = value
	obj.setRawValue = true
	obj.queue = list.New()
	if len(name) > 0 {
		obj.name = name[0]
	}
	return obj
}
Text use int new valid
package zvalid
import (
	"container/list"
	"errors"
	"strconv"
)
type (
	Engine struct {
		queue        *list.List
		setRawValue  bool
		err          error
		name         string
		value        string
		valueInt     int
		valueFloat   float64
		sep          string
		silent       bool
		defaultValue interface{}
		result       bool
	}
	queueT func(v Engine) Engine
)
var (
	ErrNoValidationValueSet = errors.New("未设置验证值")
)
func New() Engine {
	return Engine{
		queue: list.New(),
	}
}
func Int(value int, name ...string) Engine {
	return Text(strconv.FormatInt(int64(value), 10), name...)
}