Versions in this module Expand all Collapse all v0 v0.1.0 Oct 3, 2024 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) Request(method, path string, data interface{}) (map[string][]interface{}, 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 + 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 PostParams struct + HTML *string + Markdown *string + Mobiledoc *string + Status *string + Title *string + 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