Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContentFromItems ¶
func ContentFromItems(items []model.Item) ([]model.ContentResponse, error)
ContentFromItems converts slice of database items to user content provided in the handler
func UpdateItemFromContentRequest ¶
func UpdateItemFromContentRequest(contentRequestBody model.ContentRequest) model.UpdateItem
UpdateItemFromContentRequest creates database input item from information provided int PUT request
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.