MCPcopy Index your code
hub / github.com/koding/kite / handlePrint

Function handlePrint

handlers.go:124–126  ·  view source on GitHub ↗

handlePrint prints a message to stdout.

(r *Request)

Source from the content-addressed store, hash-verified

122
123// handlePrint prints a message to stdout.
124func handlePrint(r *Request) (interface{}, error) {
125 return fmt.Print(r.Args.One().MustString())
126}
127
128// handlePrompt asks user a single line input.
129func handlePrompt(r *Request) (interface{}, error) {

Callers

nothing calls this directly

Calls 2

MustStringMethod · 0.80
OneMethod · 0.80

Tested by

no test coverage detected