Created
September 3, 2015 12:16
-
-
Save snaffi/9a19062eed36c1ed77ce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type PushNotification struct { | |
Id bson.ObjectId `json:"id,omitempty" bson:"_id,omitempty"` | |
Text string `json:"text" bson:"text"` | |
Subject string `json:"subject" bson:"subject"` | |
EndDate time.Time `json:"end_date,omitempty" bson:"end_date,omitempty"` | |
StartDate time.Time `json:"start_date,omitempty" bson:"start_date,omitempty"` | |
Created time.Time `json:"created" bson:"created"` | |
Updated time.Time `json:"updated" bson:"updated"` | |
Deleted bool `json:"deleted" bson:"deleted"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment