Documentation
¶
Overview ¶
Package models contains the model definitions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
ID string `depot:"id,id"`
Text string `depot:"text"`
OrderIndex int `depot:"order_index"`
Length float32 `depot:"len"`
Attachment []byte `depot:"attachment"`
Created time.Time `depot:"created"`
Updated *time.Time `depot:"updated,nullable"`
}
Message demonstrates a persistent struct showing several mapped fields.
Click to show internal directories.
Click to hide internal directories.