package
0.0.0-20230219045104-84f9aa2ea636
Repository: https://github.com/jadoint/micro.git
Documentation: pkg.go.dev

# Functions

Add creates a new blog post.
AddTag inserts a tag into the tag table.
Delete delete blog post.
DeleteTag deletes a tag from the tag table.
DeleteTagsCSV Deletes a record from blog_tags.
Get gets single blog post and its settings.
GetFrequentTags gets most frequently used tags.
GetIDAuthor gets author ID of blog.
GetIDByTag gets a tag ID by its tag.
GetLatest gets latest blogs posted.
GetLatestByTag gets latest blogs posted by tag.
GetPost gets single blog post.
GetPostInit gets blog settings and credentials used for retrieving details from GetPost.
GetRecentAuthorBlogs gets all recent blogs by an author.
GetTagByID gets a tag by its tag ID.
GetTagsCSV Get CSV of a blog's tags.
GetViews gets blog view count.
IncrViews increments blog views.
RouteBlog handles all requests to /blog/.
RouteTag handles all requests to /blog/tag.
SetTagsCSV Sets a blog's tag string in CSV.
Update update blog post.
UpdateSettings saves blog settings.

# Structs

Blog contains data from the blog tables.
Tag contains data from tag table.
TagCSV contains data from blog_tags table.