Files
fn-serverless/examples/blog/models/post.go
Carlos C d5fb1afda7 Revert "Assert License (#224)"
This reverts commit a61c4dab78.
2016-11-06 09:25:12 -08:00

11 lines
265 B
Go

package models
import "gopkg.in/mgo.v2/bson"
type Post struct {
ID bson.ObjectId `json:"id" bson:"_id,omitempty"`
Title string `json:"title" bson:"title"`
Body string `json:"body" bson:"body"`
User string `json:"user" bsom:"user"`
}