Documentation ¶
Index ¶
- Variables
- func Basename(s string) string
- func ChangeWorkDir(workdir string)
- func Copy(toValue interface{}, fromValue interface{}) (err error)
- func CreateFile(path, filename string) error
- func DeepFields(reflectType reflect.Type) []reflect.StructField
- func Filename(s string) string
- func GetFieldValue(f interface{}, name string) reflect.Value
- func GetRelativePath(skip int) string
- func GetWorkDir() string
- func IsPathNotExist(path string) bool
- func LowerFirst(str string) string
- func NewReflectType(st interface{}) interface{}
- func ParseReferences(st interface{}, varName []string) (string, error)
- func ParseVariables(src string, re *regexp.Regexp) [][]string
- func Replace(to interface{}, root interface{}) error
- func ReplaceStringVariables(source string, t interface{}) (string, error)
- func StringInSlice(a string, list []string) bool
- func UpperFirst(str string) string
- func ValidateReflectType(obj interface{}, ...) error
- func Visit(files *[]string) filepath.WalkFunc
- func WriterFile(path, filename string, in []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Validate *validator.Validate
Functions ¶
func DeepFields ¶
func DeepFields(reflectType reflect.Type) []reflect.StructField
func NewReflectType ¶
func NewReflectType(st interface{}) interface{}
func ReplaceStringVariables ¶
func ValidateReflectType ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.