MCPcopy Create free account
hub / github.com/HashLoad/boss / Puts

Method Puts

msg/msg.go:135–144  ·  view source on GitHub ↗
(msg string, args ...interface{})

Source from the content-addressed store, hash-verified

133}
134
135func (m *Messenger) Puts(msg string, args ...interface{}) {
136 m.Lock()
137 defer m.Unlock()
138 if _, err := fmt.Fprintf(m.Stderr, msg, args...); err != nil {
139 println("[Fault] %s", err.Error())
140 }
141 if _, err := fmt.Fprintln(m.Stderr); err != nil {
142 println("[Fault] %s", err.Error())
143 }
144}
145
146func (m *Messenger) Print(msg string) {
147 m.Puts(msg)

Callers 2

PrintMethod · 0.95
PutsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected