Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gobyexample-cn/gobyexample
/ mustGlob
Function
mustGlob
tools/generate.go:77–81 ·
view source on GitHub ↗
(glob string)
Source
from the content-addressed store, hash-verified
75
}
76
77
func
mustGlob(glob string) []string {
78
paths, err := filepath.Glob(glob)
79
check(err)
80
return
paths
81
}
82
83
func
whichLexer(path string) string {
84
if
strings.HasSuffix(path,
".go"
) {
Callers
1
parseExamples
Function · 0.85
Calls
1
check
Function · 0.70
Tested by
no test coverage detected