Discover Packages
github.com/inazak/training-go-httpserver
model
package
Version:
v0.0.21
Opens a new window with list of versions in this module.
Published: Sep 28, 2023
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Task struct {
ID TaskID `json:"id" db:"id"`
UserID UserID `json:"userid" db:"userid"`
Title string `json:"title" db:"title"`
Status TaskStatus `json:"status" db:"status"`
Created string `json:"created" db:"created"`
Modified string `json:"modified" db:"modified"`
}
type User struct {
ID UserID `json:"id" db:"id"`
Name string `json:"name" db:"name"`
Password string `json:"password" db:"password"`
Created string `json:"created" db:"created"`
Modified string `json:"modified" db:"modified"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.