mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-16 00:49:26 +01:00
13 lines
282 B
Go
13 lines
282 B
Go
package model
|
|
|
|
import "gopkg.in/mgo.v2/bson"
|
|
|
|
type (
|
|
Post struct {
|
|
ID bson.ObjectId `json:"id" bson:"_id,omitempty"`
|
|
To string `json:"to" bson:"to"`
|
|
From string `json:"from" bson:"from"`
|
|
Message string `json:"message" bson:"message"`
|
|
}
|
|
)
|