package
Version:
v0.0.0-...-2bdd938
Opens a new window with list of versions in this module.
Published: Dec 20, 2017
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewTaskModel(db *gorm.DB) *taskModel
type Task struct {
ID uint `json:"id"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
DeletedAt *time.Time `json:"-"`
Description string `json:"description"`
Completed bool `json:"completed"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.