Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/RainbowMango/GoExpertProgramming
/ ExampleSayGoodbye
Function
ExampleSayGoodbye
source/gotest/example_test.go:12–17 ·
view source on GitHub ↗
检测多行输出
()
Source
from the content-addressed store, hash-verified
10
11
// 检测多行输出
12
func
ExampleSayGoodbye() {
13
gotest.SayGoodbye()
14
// OutPut:
15
// Hello,
16
// goodbye
17
}
18
19
// 检测乱序输出
20
func
ExamplePrintNames() {
Callers
nothing calls this directly
Calls
1
SayGoodbye
Function · 0.92
Tested by
no test coverage detected