Documentation
¶
Index ¶
- type Client
- func (cl *Client) CreateItem(params *CreateItemParameters) (Item, error)
- func (cl *Client) DeleteItem(id string) error
- func (cl *Client) GetItem(id string) (Item, error)
- func (cl *Client) ListAuthenticatedUserItems(p *ListAuthenticatedUserItemsParameters) (Items, error)
- func (cl *Client) ListItems(p *ListItemsParameters) (Items, error)
- func (cl *Client) UpdateItem(id string, params *UpdateItemParameters) (Item, error)
- type CreateItemParameters
- type Item
- type ItemFrontMatter
- type Items
- type ListAuthenticatedUserItemsParameters
- type ListItemsParameters
- type Tag
- type Tags
- type UpdateItemParameters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateItem ¶ added in v0.0.3
func (cl *Client) CreateItem(params *CreateItemParameters) (Item, error)
func (*Client) DeleteItem ¶ added in v0.0.3
func (*Client) ListAuthenticatedUserItems ¶ added in v0.0.3
func (cl *Client) ListAuthenticatedUserItems(p *ListAuthenticatedUserItemsParameters) (Items, error)
func (*Client) UpdateItem ¶ added in v0.0.3
func (cl *Client) UpdateItem(id string, params *UpdateItemParameters) (Item, error)
type CreateItemParameters ¶ added in v0.0.3
type Item ¶
type Item map[string]interface{}
func (Item) FrontMatter ¶ added in v0.0.4
func (item Item) FrontMatter() ItemFrontMatter
type ItemFrontMatter ¶ added in v0.0.4
type ItemFrontMatter struct { ID *string `yaml:"id,omitempty"` Title *string `yaml:"title,omitempty"` Tags *[]string `yaml:"tags,flow,omitempty"` Private *bool `yaml:"private,omitempty"` }
func (ItemFrontMatter) QiitaTags ¶ added in v0.0.4
func (fm ItemFrontMatter) QiitaTags() *Tags
type ListAuthenticatedUserItemsParameters ¶ added in v0.0.3
type ListItemsParameters ¶
Click to show internal directories.
Click to hide internal directories.