Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteList ¶
DeleteList deletes a row in the list table based off of list_id.
Types ¶
type List ¶
type List struct { ID int `json:"id" db:"list_id"` Name string `json:"name" db:"name"` Created time.Time `json:"created" db:"created"` Modified time.Time `json:"modified" db:"modified"` }
List is a type that contains the proper struct tags for both a JSON and Postgres representation of a list.
func CreateList ¶
CreateList inserts a new row into the list table.
func SelectList ¶
SelectList selects a single row from the list table based off of a given list_id.
Click to show internal directories.
Click to hide internal directories.