Versions in this module Expand all Collapse all v0 v0.0.1 Jul 5, 2020 Changes in this version + type Client struct + OrgID string + func New(token string) (*Client, error) + func (c *Client) CreateCollaborator(collab *Collaborator) (*Collaborator, error) + func (c *Client) CreateProject(project *Project) (*Project, error) + func (c *Client) DeleteCollaborator(id string) error + func (c *Client) DeleteProject(id string) error + func (c *Client) GetCollaborator(id string) (*Collaborator, error) + func (c *Client) GetCurrentOrganization() (string, error) + func (c *Client) GetOrganization() (*Organization, error) + func (c *Client) GetProject(id string) (*Project, error) + func (c *Client) ListProjects(query string, sort string, direction string) ([]Project, error) + func (c *Client) UpdateCollaborator(collab *Collaborator) (*Collaborator, error) + func (c *Client) UpdateOrganization(org *Organization) (*Organization, error) + func (c *Client) UpdateProject(project *Project) (*Project, error) + type Collaborator struct + Admin *bool + CreatedAt string + Email string + ID string + IsAdmin bool + LastRequestAt string + Name string + PaidFor bool + Password string + PasswordUpdatedOn string + PendingInvitation bool + ProjectIDs []string + RecoveryCodesRemaining int + ShowTimeInUTC bool + TwoFAEnabled bool + TwoFAEnabledOn string + type OrgCreator struct + Email string + ID string + Name string + type Organization struct + AutoUpgrade *bool + BillingEmails []string + CreatedAt string + Creator *OrgCreator + ID string + Name string + Slug string + UpdatedAt string + type Project struct + APIKey string + CreatedAt string + HTMLURL string + ID string + Name string + Slug string + Type string + URL string + UpdatedAt string