Documentation
¶
Index ¶
- func AllotIpaddressValidator(allocateIpaddress *AllocateIpaddress) validator.Result
- func DirNameFormatValidateChain(data map[string]interface{}) validator.Result
- func FileNameFormatValidateChain(data map[string]interface{}) validator.Result
- func IsValidDir(f string) bool
- func IsValidDir2(f string) (bool, string)
- func StructToMap(obj interface{}) map[string]interface{}
- func WorkorderData(dir string) (table *clitask.Table, err error)
- func WorkorderServerData(data map[string][][]string) (table *clitask.Table, err error)
- type AllocateIpaddress
- type CompareFilenameAndDirnameValidator
- type DirectoryNameValidator
- type FileNameTypeValidator
- type WorkorderValidate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllotIpaddressValidator ¶
func AllotIpaddressValidator(allocateIpaddress *AllocateIpaddress) validator.Result
func IsValidDir ¶
func IsValidDir2 ¶
func StructToMap ¶
func StructToMap(obj interface{}) map[string]interface{}
Types ¶
type AllocateIpaddress ¶
type AllocateIpaddress struct {
DirNames []string
}
type CompareFilenameAndDirnameValidator ¶
type CompareFilenameAndDirnameValidator struct {
}
校验文件名和文件夹名是否一致
type WorkorderValidate ¶
type WorkorderValidate struct {
}
Click to show internal directories.
Click to hide internal directories.