5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-12-02 13:51:36 +00:00
matterbridge/vendor/github.com/labstack/echo/cookbook/twitter/model/post.go

13 lines
282 B
Go
Raw Normal View History

2017-02-18 22:00:46 +00:00
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"`
}
)