Documentation
¶
Index ¶
- Constants
- func AssemblyDir() string
- func AssemblyFile() string
- func Black(msg string) string
- func Blue(msg string) string
- func Cyan(msg string) string
- func FileExist(addr string) bool
- func GetTimeOfDay(t time.Time) time.Time
- func GetUnixOfDay(t time.Time) int64
- func Green(msg string) string
- func Indirect(v reflect.Value) reflect.Value
- func Magenta(msg string) string
- func MkDirIfNotExist(path string) error
- func ParseMapPointer(key_map interface{}) (*reflect.Value, *reflect.Type, *reflect.Kind, *reflect.Type, *reflect.Type, ...)
- func ParseSlicePointer(list interface{}, clearList bool) (*reflect.Value, *reflect.Value, *reflect.Type, error)
- func Red(msg string) string
- func SetColor(msg string, conf, bg, text int) string
- func White(msg string) string
- func Yellow(msg string) string
Constants ¶
View Source
const ( TextBlack = iota + 30 TextRed TextGreen TextYellow TextBlue TextMagenta TextCyan TextWhite )
Variables ¶
This section is empty.
Functions ¶
func AssemblyDir ¶
func AssemblyDir() string
func AssemblyFile ¶
func AssemblyFile() string
func GetTimeOfDay ¶ added in v1.0.1
Get the time of the current day at zero hour
func GetUnixOfDay ¶ added in v1.0.1
Get the Unix timestamp of the current day at zero hour
func ParseMapPointer ¶ added in v1.0.2
func ParseMapPointer(key_map interface{}) (*reflect.Value, *reflect.Type, *reflect.Kind, *reflect.Type, *reflect.Type, error)
parse map interface typed returm [map_pointer,map_type,map_keytype,slice_type,element_type,error]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.