Documentation ¶
Index ¶
- Constants
- func CheckStrIsEmpty(str string) bool
- func GetAllFile(filePath string, filterExt string, notContain bool) ([]os.FileInfo, error)
- func GetFileExt(fileName string) string
- func GetFileMd5(filePath string) string
- func PathExists(path string) (bool, error)
- func PathMkdir(path string) error
- func ResetConfig()
Constants ¶
View Source
const ( Year = "2006" ShortYate = "06" Month = "01" Day = "02" Hour = "15" Minute = "04" Second = "02" Times = Hour + ":" + Minute + ":" + Second ShortTime = Hour + ":" + Minute TransverseDate = Year + "-" + Month + "-" + Day SlantDate = Year + "/" + Month + "/" + Day TransverseDateTime = TransverseDate + " " + Times SlantDatetime = SlantDate + " " + Times )
Variables ¶
This section is empty.
Functions ¶
func GetAllFile ¶
获取目录下的文件(可以通过后缀过滤)
func ResetConfig ¶
func ResetConfig()
*
- 重置beego相关配置参数<BR>
- @author 作者: Jack Chu E-mail: chuchuanbao@gmail.com
- 创建时间:2019/9/11 18:15
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.