MCPcopy 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
261func (c *Cli) Exit() int {
262 c.Session.Close()
263 fmt.Fprintln(c.OutStream, "Bye")
264 return exitCodeSuccess
265}
266
267func (c *Cli) ExitOnError(err error) int {
268 c.Session.Close()

Callers 4

RunInteractiveMethod · 0.95
TestMainFunction · 0.80
mainFunction · 0.80
exitfFunction · 0.80

Calls 1

CloseMethod · 0.45

Tested by 1

TestMainFunction · 0.64