package
0.0.0-20220201141554-9d4902c82e86
Repository: https://github.com/castroeduardo/golang-api-rest.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

AddArticle add a single article.
AddTag Add a Tag.
CheckAuth checks if authentication information exists.
CleanAllArticle clear all article.
CleanAllTag clear all tag.
CloseDB closes database connection (unnecessary).
DeleteArticle delete a single article.
DeleteTag delete a tag.
EditArticle modify a single article.
EditTag modify a single tag.
ExistArticleByID checks if an article exists based on ID.
ExistTagByID determines whether a Tag exists based on the ID.
ExistTagByName checks if there is a tag with the same name.
GetArticle Get a single article based on ID.
GetArticles gets a list of articles based on paging constraints.
GetArticleTotal gets the total number of articles based on the constraints.
GetTags gets a list of tags based on paging and constraints.
GetTagTotal counts the total number of tags based on the constraint.
Setup initializes the database instance.

# Structs

Article
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author