MCPcopy
hub / github.com/rsc/2fa / show

Method show

main.go:299–305  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

297}
298
299func (c *Keychain) show(name string) {
300 code := c.code(name)
301 if *flagClip {
302 clipboard.WriteAll(code)
303 }
304 fmt.Printf("%s\n", code)
305}
306
307func (c *Keychain) showAll() {
308 var names []string

Callers 1

mainFunction · 0.80

Calls 1

codeMethod · 0.95

Tested by

no test coverage detected