Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gobyexample-cn/gobyexample
/ readLines
Function
readLines
tools/generate.go:72–75 ·
view source on GitHub ↗
(path string)
Source
from the content-addressed store, hash-verified
70
}
71
72
func
readLines(path string) []string {
73
src := mustReadFile(path)
74
return
strings.Split(src,
"\n"
)
75
}
76
77
func
mustGlob(glob string) []string {
78
paths, err := filepath.Glob(glob)
Callers
3
parseHashFile
Function · 0.70
parseSegs
Function · 0.70
parseExamples
Function · 0.70
Calls
1
mustReadFile
Function · 0.85
Tested by
no test coverage detected