Documentation
¶
Index ¶
- func CreateContent(userId int, contentType int, title string, isPublished bool) (id int, err error)
- func DeleteContent(id int) (err error)
- func GetContent() (content []content_structs.Content, err error)
- func GetContentEntry(id int) (content content_structs.Content, err error)
- func UpdateContent(id int, userId int, title string, isPublished bool) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateContent ¶
func DeleteContent ¶
func GetContent ¶
func GetContent() (content []content_structs.Content, err error)
func GetContentEntry ¶
func GetContentEntry(id int) (content content_structs.Content, err error)
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.