Documentation ¶ Index ¶ type Client func New(c *client.Client) *Client func (c *Client) Get(id string) (*models.CodeSnippet, error) func (c *Client) List() (*models.CodeSnippets, error) func (c *Client) New(p *models.CodeSnippetParams) (string, error) func (c *Client) Update(s *models.CodeSnippet) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { *client.Client } func New ¶ func New(c *client.Client) *Client func (*Client) Get ¶ func (c *Client) Get(id string) (*models.CodeSnippet, error) func (*Client) List ¶ func (c *Client) List() (*models.CodeSnippets, error) func (*Client) New ¶ func (c *Client) New(p *models.CodeSnippetParams) (string, error) func (*Client) Update ¶ func (c *Client) Update(s *models.CodeSnippet) (string, error) Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.