Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/adonovan/gopl.io
/ echo
Function
echo
ch11/echo/echo.go:33–39 ·
view source on GitHub ↗
(newline bool, sep string, args []string)
Source
from the content-addressed store, hash-verified
31
}
32
33
func
echo(newline bool, sep string, args []string) error {
34
fmt.Fprint(out, strings.Join(args, sep))
35
if
newline {
36
fmt.Fprintln(out)
37
}
38
return
nil
39
}
40
41
//!-
Callers
2
TestEcho
Function · 0.70
main
Function · 0.70
Calls
no outgoing calls
Tested by
1
TestEcho
Function · 0.56