Versions in this module Expand all Collapse all v1 v1.0.0 Aug 16, 2020 Changes in this version + func Bool(v bool) *bool + func String(v string) *string + type Author struct + Bio *string + CoverImage *string + Facebook *string + ID *string + Location *string + MetaDescription *string + MetaTitle *string + Name *string + ProfileImage *string + Slug *string + Twitter *string + URL *string + Website *string + type Client struct + GhostPath string + Key string + URL string + UserAgent string + Version string + func NewClient(url, key string) *Client + func (c *Client) EndpointForID(api, resource, id string) string + func (c *Client) EndpointForSlug(api, resource, slug string) string + func (c *Client) Request(method, path string, data interface{}) (*http.Response, error) + type Error struct + Context *string + ID *string + Message *string + Type *string + func (e Error) Error() string + type Post struct + CommentID *string + CreatedAt *time.Time + CustomExcerpt *string + CustomTemplate *string + Excerpt *string + FeatureImage *string + Featured *bool + HTML *string + ID *string + MetaDescription *string + MetaTitle *string + Mobiledoc *string + OGDescription *string + OGImage *string + OGTitle *string + Page *bool + PrimaryAuthor *Author + PrimaryTag *Tag + PublishedAt *time.Time + Slug *string + Title *string + TwitterDescription *string + TwitterImage *string + TwitterTitle *string + URL *string + UUID *string + UpdatedAt *time.Time + type PostRequest struct + Errors []Error + Posts []Post + type Tag struct + CreatedAt time.Time + Description *string + FeaturedImage *string + ID *string + MetaDescription *string + MetaTitle *string + Name *string + Parent *Tag + Slug *string + UpdatedAt time.Time + Visibility *string