Documentation ¶
Index ¶
- func AppendFileText(filePath, newText string)
- func Difference(slice1 []string, slice2 []string) []string
- func DrivingPanic()
- func DrivingPending()
- func GetExecDir() (string, error)
- func GetRand(min, max int) int
- func GracefulSleep(t time.Duration)
- func OutputDebug(r any, target string)
- func OutputMsg(msg, target string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendFileText ¶
func AppendFileText(filePath, newText string)
func Difference ¶
Difference returns the difference array between two arrays.
func DrivingPending ¶
func DrivingPending()
func GetExecDir ¶
GetExecDir returns self executable file's directory.
func GetRand ¶
GetRand returns a random number that conform to min<=[?]<=max. Must call rand.Seed(time.Now().UnixNano()) before using it.
func GracefulSleep ¶
func OutputDebug ¶
func OutputDebug(r any, target string)
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.