Documentation
¶
Index ¶
- func CurrencyUnitFloat(currency, unit interface{}) string
- func CurrencyUnitInt(currency, unit interface{}) int
- func FilePathFormat(path interface{}) string
- func GetCurrencyMinUnit() interface{}
- func GetFilesPath(path string) string
- func GetUrl() string
- func HashPassword(pwd []byte) (string, error)
- func IAERes(c interface{}) interface{}
- func IsValueInSplit(value string, list []string) bool
- func PathExists(path string) (bool, error)
- func TimeFormat(t *time.Time) string
- func VerifyPassword(pwd []byte, hPwd string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PathExists ¶
判断文件或文件夹是否存在 如果返回的错误为nil,说明文件或文件夹存在 如果返回的错误类型使用os.IsNotExist()判断为true,说明文件或文件夹不存在 如果返回的错误为其它类型,则不确定是否在存在
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.