Documentation
¶
Index ¶
- Variables
- func Bool(value any) bool
- func Compare(value any, other any) int
- func DeepCopy(m map[string]any) map[string]any
- func FileBaseName(file string) string
- func FileExists(path string) bool
- func FileList(path string) ([]string, error)
- func Merge(v0, v1 any) any
- func ParseTime(value string) (time.Time, error)
- func RemoveDir(path string) error
- func Sort(key string, f func(string, int, int) int) func(int, int) bool
- func SplitPrefix(str string, split string) []string
- func SplitTrim(str string, split string) []string
- func StringConcat(strs ...string) string
- func StringReplace(s string, vars map[string]string) string
- func Truncate(text string, length int, ellipsis string) string
- func TruncateHTML(text string, length int, ellipsis string) string
- type Cache
Constants ¶
This section is empty.
Variables ¶
View Source
var DateFormats = []string{"2006-01-02 15:04:05", "2006-01-02 15:04", "2006-01-02"}
Functions ¶
func FileBaseName ¶
func FileExists ¶
func SplitPrefix ¶
func StringConcat ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.