5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-27 12:21:35 +00:00
matterbridge/vendor/github.com/labstack/echo/cookbook/twitter/model/user.go

14 lines
398 B
Go
Raw Normal View History

2017-02-18 22:00:46 +00:00
package model
import "gopkg.in/mgo.v2/bson"
type (
User struct {
ID bson.ObjectId `json:"id" bson:"_id,omitempty"`
Email string `json:"email" bson:"email"`
Password string `json:"password,omitempty" bson:"password"`
Token string `json:"token,omitempty" bson:"-"`
Followers []string `json:"followers,omitempty" bson:"followers,omitempty"`
}
)