MCPcopy
hub / github.com/gotify/server / Message

Method Message

test/testdb/database.go:167–170  ·  view source on GitHub ↗

Message creates a message and returns itself.

(id uint)

Source from the content-addressed store, hash-verified

165
166// Message creates a message and returns itself.
167func (mb *MessageBuilder) Message(id uint) *MessageBuilder {
168 mb.NewMessage(id)
169 return mb
170}
171
172// NewMessage creates a message and returns the message.
173func (mb *MessageBuilder) NewMessage(id uint) model.Message {

Calls 1

NewMessageMethod · 0.95