Documentation ¶
Index ¶
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 NewClient ¶
func NewClient(opts *ClientOpts) *Client
type ClientOpts ¶
type Config ¶
type Config struct { Host string UserEmail string `json:"user_email"` APIToken string `json:"api_token"` Timeout *time.Duration }
Config struct for storing JSON data file
type Issue ¶
type Issue struct { ID string `json:"id"` Key string `json:"key"` Self string `json:"self"` Fields struct { Description string `json:"description"` Summary string `json:"summmary"` } `json:"fields"` }
Issue is a struct representing a JIRA issue.
func ParseIssue ¶
ParseIssue tries to parse a JIRA key from a string. If it is able to, it returns a pointer to the issue otherwise the issue is nil and error will be populated
Click to show internal directories.
Click to hide internal directories.