Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Task ¶
type Task struct { ID primitive.ObjectID `json:"id,omitempty" bson:"_id"` Text string `json:"text" binding:"required" bson:"text"` Completed bool `json:"completed" bson:"completed"` CreatedAt time.Time `json:"created_at,omitempty" bson:"created_at"` UpdatedAt time.Time `json:"updated_at,omitempty" bson:"updated_at"` }
Task -> model
Click to show internal directories.
Click to hide internal directories.