coreLib

package module
v0.0.0-...-fd057f4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2021 License: GPL-3.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

View Source
const (
	TYPE_STRING = iota
	TYPE_INT
	TYPE_FLOAT
	TYPE_BOOl
)

Variables

This section is empty.

Functions

func ExistsFile

func ExistsFile(filepath string) bool

func GetBaseDirPath

func GetBaseDirPath() string

func IsDir

func IsDir(path string) bool

判断所给路径是否为文件夹

func IsFile

func IsFile(path string) bool

判断所给路径是否为文件

func RandString

func RandString(length int) string

func RandStringWithCharset

func RandStringWithCharset(length int, charset string) string

func ValTypeConv

func ValTypeConv(valStr string, valType int) (interface{}, error)

值类型转换

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL