Documentation ¶
Index ¶
- func Base(pathStr string) string
- func BoolToPass(b bool) string
- func ChanePrecision(value float64, precision int) float64
- func GetFieldVal(config model.Config, key string) string
- func GetIp() string
- func GetIpType(IP net.IP) string
- func GetOs() string
- func GetType(i interface{}) string
- func IgnoreFile(path string) bool
- func IsLinux() bool
- func IsMac() bool
- func IsRelease() bool
- func IsRunAsBackendProcess() (found bool)
- func IsWin() bool
- func LinkedMapToMap(mp maps.Map) map[string]string
- func NewSliceValue(vals []string, p *[]string) *sliceValue
- func RandNum(length int) int
- func RandNum64(length int64) int64
- func RemoveBlankLine(str string) string
- func SetFieldVal(config *model.Config, key string, val string) string
- func UpdateUrl(url string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolToPass ¶
func ChanePrecision ¶
func IgnoreFile ¶
func IsRunAsBackendProcess ¶
func IsRunAsBackendProcess() (found bool)
func NewSliceValue ¶
func RemoveBlankLine ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.