MCPcopy
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
77func mustGlob(glob string) []string {
78 paths, err := filepath.Glob(glob)
79 check(err)
80 return paths
81}
82
83func whichLexer(path string) string {
84 if strings.HasSuffix(path, ".go") {

Callers 1

parseExamplesFunction · 0.85

Calls 1

checkFunction · 0.70

Tested by

no test coverage detected