MCPcopy Create free account
hub / github.com/codechenx/FastTableViewer / usefulInfo

Function usefulInfo

utils.go:30–34  ·  view source on GitHub ↗

print useful info and force quite app

(s string)

Source from the content-addressed store, hash-verified

28
29// print useful info and force quite app
30func usefulInfo(s string) {
31 color.Set(color.FgHiYellow)
32 fmt.Println(s)
33 color.Unset()
34}
35
36// I2B covert int to bool, if i >0:true, else false
37func I2B(i int) bool {

Callers 1

TestUsefulInfo_NotEmptyFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestUsefulInfo_NotEmptyFunction · 0.68