package
2.1.5+incompatible
Repository: https://github.com/nomkhonwaan/myblog.git
Documentation: pkg.go.dev

# Functions

BuildCategorySchema builds all category related schemas.
BuildFileSchema builds all file related schemas.
BuildGraphAPISchema builds all Facebook Graph API related schemas.
BuildPostSchema builds all post related schemas.
BuildSchema accepts build schema function(s) for applying to the schemabuilding.Schema object.
BuildTagSchema builds all tag related schemas.
CreatePostFieldFunc handles the following mutation ```graphql mutation { createPost { ..
FindAllAttachmentsBelongedToPostFieldFunc handles the following query in the Post type ```graphql { Post { ..
FindAllCategoriesBelongedToPostFieldFunc handles the following query in the Post type ```graphql { Post { ..
FindAllCategoriesFieldFunc handles the following query ```graphql { categories { ..
FindAllLatestPublishedPostsFieldFunc handles the following query ```graphql { latestPublishedPosts(offset: int!, limit: int!) { ..
FindAllLPPBelongedToCategoryFieldFunc handles the following query in the Category type ```graphql { Category { ..
FindAllLPPBelongedToTagFieldFunc handles the following query in the Tag type ```graphql { Tag { ..
FindAllMyPostsFieldFunc handles the following query ```graphql { myPosts(offset: int!, limit: int!) { ..
FindAllTagsBelongedToPostFieldFunc handles the following query in the Post type ```graphql { Post { ..
FindAllTagsFieldFunc handles the following query ```graphql { tags { ..
FindCategoryBySlugFieldFunc handles the following query ```graphql { category(slug: string!) { ..
FindFeaturedImageBelongedToPostFieldFunc handles the following query in the Post type ```graphql { Post { ..
FindPostBySlugFieldFunc handles the following query ```graphql { post(slug: string!) { ..
FindTagBySlugFieldFunc handles the following query ```graphql { tag(slug: string!) { ..
GetURLNodeShareCountFieldFunc handles the following query in the Post type ```graphql { Post { ..
Handler is a wrapped function to the original graphql.HTTPHandler for avoiding package name conflict.
ServeGraphiqlHandlerFunc provides a GraphQL Playground page.
UpdatePostAttachmentsFieldFunc handles the following mutation ```graphql mutation { updatePostAttachments(slug: string!, attachmentSlugs: [string!]!) { ..
UpdatePostCategoriesFieldFunc handles the following mutation ```graphql mutation { updatePostCategories(slug: string!, categorySlugs: [string!]!) { ..
UpdatePostContentFieldFunc handles the following mutation ```graphql mutation { updatePostContent(slug: string!, markdown: string!) { ..
UpdatePostFeaturedImageFieldFunc handles the following mutation ```graphql mutation { updatePostFeaturedImage(slug: string!, featuredImageSlug: string!) { ..
UpdatePostStatusFieldFunc handles the following mutation ```graphql mutation { updatePostStatus(slug: string!, status: Status!) { ..
UpdatePostTagsFieldFunc handles the following mutation ```graphql mutation { updatePostTags(slug: string!, tags: [string!]!) { ..
UpdatePostTitleFieldFunc handles the following mutation ```graphql mutation { updatePostTitle(slug: string!, title: string!) { ..
VerifyAuthorityMiddleware looks on the request header for the authorization token.

# Constants

AuthorizedID is a context.Context key where an authorized ID value stored.

# Type aliases

Slug is a valid URL string composes with title and ID.