Documentation ¶
Index ¶
- Constants
- func ContainsInt32(s []int32, e int32) bool
- func ContainsString(s []string, e string) bool
- func Copy(src, dst string) error
- func Date(format string, i int64) string
- func DelPid(pth string) error
- func ExecDir() (string, error)
- func Filter(s string) string
- func GetFiles(dir string) ([]os.FileInfo, error)
- func GetFilesSortByMTime(dir string) ([]os.FileInfo, error)
- func GetFilesSortByName(dir string) ([]os.FileInfo, error)
- func IsDir(dir string) bool
- func IsFile(filePath string) bool
- func IsFiles(fs []string) (bool, error)
- func MD5(s string) string
- func MarshalWithoutHeaders(in interface{}, out io.Writer) (err error)
- func StrToTime(s, format string) (int64, error)
- func TimeParse(date, format string) (time.Time, error)
- func WritePid(pth string) error
Constants ¶
View Source
const DateFormat = "Y-m-d"
DateFormat : default date format
View Source
const DateTimeFormat = "Y-m-d H:i:s"
DateTimeFormat : default date time format
Variables ¶
This section is empty.
Functions ¶
func ContainsInt32 ¶
func ContainsString ¶
func MarshalWithoutHeaders ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.