Versions in this module Expand all Collapse all v1 v1.3.9 May 24, 2022 v1.1.3 May 24, 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 github.com/cumthxy/go-admin-core