Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gobyexample-cn/gobyexample
/ debug
Function
debug
tools/generate.go:92–96 ·
view source on GitHub ↗
(msg string)
Source
from the content-addressed store, hash-verified
90
}
91
92
func
debug(msg string) {
93
if
os.Getenv(
"DEBUG"
) ==
"1"
{
94
fmt.Fprintln(os.Stderr, msg)
95
}
96
}
97
98
var
docsPat = regexp.MustCompile(`^(\s*(\/\/|#)\s|\s*\/\/$)`)
99
var
dashPat = regexp.MustCompile(`\-+`)
Callers
1
parseSegs
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected