Documentation ¶
Index ¶
- func ArticleGetBySlug(db dbpgx.Db, ctx context.Context, currUsername string, slug string) (model.Article, error)
- func ArticlePlusesToArticles(aps []model.ArticlePlus) []model.Article
- func ArticlesList(db dbpgx.Db, ctx context.Context, currUsername string) ([]model.Article, error)
- func CleanupAllTables(db dbpgx.Db, ctx context.Context)
- func UserGetByName(db dbpgx.Db, ctx context.Context, username string) (model.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArticleGetBySlug ¶
func ArticlePlusesToArticles ¶
func ArticlePlusesToArticles(aps []model.ArticlePlus) []model.Article
func ArticlesList ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.