Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cloudspannerecosystem/spanner-cli
/ Exit
Method
Exit
cli.go:261–265 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
259
}
260
261
func
(c *Cli) Exit() int {
262
c.Session.Close()
263
fmt.Fprintln(c.OutStream,
"Bye"
)
264
return
exitCodeSuccess
265
}
266
267
func
(c *Cli) ExitOnError(err error) int {
268
c.Session.Close()
Callers
4
RunInteractive
Method · 0.95
TestMain
Function · 0.80
main
Function · 0.80
exitf
Function · 0.80
Calls
1
Close
Method · 0.45
Tested by
1
TestMain
Function · 0.64