Versions in this module Expand all Collapse all v1 v1.8.0 Mar 8, 2022 v1.7.0 Mar 8, 2022 v1.6.0 Mar 8, 2022 v1.5.0 Mar 8, 2022 v1.4.0 Mar 2, 2022 Changes in this version + func Base64ToImage(imageBase64 string) ([]byte, error) + func CheckExist(src string) bool + func CheckPermission(src string) bool + func GetCurrentTimeStamp() int64 + func GetDirFiles(dir string) ([]string, error) + func GetExt(fileName string) string + func GetImgType(p string) (string, error) + func GetSize(f multipart.File) (int, error) + func GetType(p string) (string, error) + func GetUUID() string + func Hmac(data string) string + func IsNotExistMkDir(src string) error + func IsStringEmpty(str string) bool + func MkDir(src string) error + func Open(name string, flag int, perm os.FileMode) (*os.File, error) + func PathExists(path string) bool + func RemoveRepByMap(slc []string) []string + type APIException struct + Code int + Msg string + Result interface{} + Success bool + Timestamp int64 + func AuthError(message string) *APIException + func NotFound() *APIException + func ParameterError(message string) *APIException + func ResponseJson(message string, data interface{}, success bool) *APIException + func ServerError() *APIException + func UnknownError(message string) *APIException + func (e *APIException) Error() string + type JSONTime struct + func (t *JSONTime) Scan(v interface{}) error + func (t JSONTime) MarshalJSON() ([]byte, error) + func (t JSONTime) Value() (driver.Value, error) Other modules containing this package e.coding.net/zcioc/ems/ems-core