Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Todo ¶
type Todo struct { ID string `gorm:"primaryKey" json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Text string `json:"text"` Completed bool `json:"completed"` }
func (Todo) MarshalJSON ¶
func (*Todo) UnmarshalJSON ¶
type TodoRepository ¶
Click to show internal directories.
Click to hide internal directories.