Documentation ¶
Index ¶
- func B2s(b []byte) string
- func Contains(s []string, str string) bool
- func CreateLogDirIfNotExist(logDir string) error
- func FindIndex[T comparable](s []T, value T) (int, error)
- func GetLogFile() string
- func GetLogFolder() string
- func HashFunc(b []byte) uint32
- func IsFileExist(file string) error
- func Remove[T any](s []T, index int) []T
- func RemoveByValue[T comparable](s []T, value T) []T
- func S2b(s string) (b []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateLogDirIfNotExist ¶
func FindIndex ¶
func FindIndex[T comparable](s []T, value T) (int, error)
func GetLogFile ¶
func GetLogFile() string
func GetLogFolder ¶
func GetLogFolder() string
func IsFileExist ¶ added in v0.3.0
func RemoveByValue ¶
func RemoveByValue[T comparable](s []T, value T) []T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.