Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllBlogPostType = []BlogPostType{ BlogPostTypeMarkdown, BlogPostTypeSlide, BlogPostTypeHTML, }
View Source
var AllSortOrder = []SortOrder{ SortOrderAsc, SortOrderDesc, }
Functions ¶
This section is empty.
Types ¶
type BlogLoginResponse ¶
type BlogPostType ¶
type BlogPostType string
const ( BlogPostTypeMarkdown BlogPostType = "markdown" BlogPostTypeSlide BlogPostType = "slide" BlogPostTypeHTML BlogPostType = "html" )
func (BlogPostType) IsValid ¶
func (e BlogPostType) IsValid() bool
func (BlogPostType) MarshalGQL ¶
func (e BlogPostType) MarshalGQL(w io.Writer)
func (BlogPostType) String ¶
func (e BlogPostType) String() string
func (*BlogPostType) UnmarshalGQL ¶
func (e *BlogPostType) UnmarshalGQL(v interface{}) error
type GeneralUser ¶
type NewBlogPost ¶
type NewBlogPost struct { Name string `json:"name"` Title *string `json:"title"` Markdown *string `json:"markdown"` Type *BlogPostType `json:"type"` Category *string `json:"category"` }
type Pagination ¶
type SortOrder ¶
type SortOrder string
func (SortOrder) MarshalGQL ¶
func (*SortOrder) UnmarshalGQL ¶
Click to show internal directories.
Click to hide internal directories.