Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Goal ¶
type Goal struct { ID bson.ObjectId `json:"id" bson:"_id,omitempty"` Creator bson.ObjectId `json:"creator" bson:"creator,omitempty"` Participants []bson.ObjectId `json:"participants" bson:"participants,omitempty"` Likes []bson.ObjectId `json:"likes" bson:"likes,omitempty"` Watchers []bson.ObjectId `json:"watchers" bson:"watchers,omitempty"` Aim string `json:"aim" bson:"aim,omitempty"` Reason string `json:"reason" bson:"reason"` Details string `json:"details" bson:"details,omitempty"` Inspiration string `json:"inspiration" bson:"inspiration,omitempty"` Type string `json:"type" bson:"type,omitempty"` Tags []string `json:"tags" bson:"tags,omitempty"` SimilarGoals []string `json:"similarGoals" bson:"similarGoals,omitempty"` Journey Journey `json:"journey" bson:"journey"` IsAchieved bool `json:"isAchieved" bson:"isAchieved"` IsPrivate bool `json:"isPrivate" bson:"isPrivate,omitempty"` Date time.Time `json:"timestamp" bson:"timestamp,omitempty"` }
Goal ...
type Journey ¶
type Journey struct { IsComplete bool `json:"isComplete" bson:"isComplete,omitempty"` IsInProgress bool `json:"isInProgress" bson:"isInProgress,omitempty"` IsStarted bool `json:"isStarted" bson:"isStarted,omitempty"` Details string `json:"details" bson:"details,omitempty"` Type string `json:"type" bson:"type,omitempty"` Steps []string `json:"steps" bson:"steps,omitempty"` Progress int32 `json:"progress" bson:"progress,omitempty"` StartDate time.Time `json:"startdate" bson:"startdate,omitempty"` DueDate time.Time `json:"duedate" bson:"duedate,omitempty"` }
Journey ...
Click to show internal directories.
Click to hide internal directories.