Versions in this module Expand all Collapse all v1 v1.4.0 Mar 15, 2016 Changes in this version type StoryService + func (service *StoryService) ListComments(projectId int, storyId int) ([]*Comment, *http.Response, error) v1.3.1 Oct 19, 2015 Changes in this version + type Date time.Time + func (date *Date) UnmarshalJSON(content []byte) error + func (date Date) MarshalJson() ([]byte, error) v1.3.0 Oct 13, 2015 Changes in this version + const ProjectTypeDemo + const ProjectTypePrivate + const ProjectTypePublic + type AccountingType string + const AccountingTypeBillable + const AccountingTypeOverhead + const AccountingTypeUnbillable type Client + Projects *ProjectService + type Day string + const DayFriday + const DayMonday + const DaySaturday + const DaySunday + const DayThursday + const DayTuesday + const DayWednesday + type Project struct + AccountId int + AccountingType AccountingType + AtomEnabled bool + AutomaticPlanning bool + BugsAndChoresAreEstimatable bool + CreatedAt *time.Time + CurrentIterationNumber int + CurrentVelocity int + CurrentVolatility float64 + Description string + EnableIncomingEmails bool + EnableTasks bool + EpicIds []int + Featured bool + HasGoogleDomain bool + Id int + InitialVelocity int + IntegrationIds []int + IterationLength int + IterationOverrideNumbers []int + LabelIds []int + MembershipIds []int + Name string + NumberOfDoneIterationsToShow int + PointScale string + PointScaleIsCustom bool + ProfileContent string + ProjectType string + Public bool + ShownIterationsStartTime *time.Time + StartDate *time.Time + StartTime *time.Time + StoryIds []int + TimeZone *TimeZone + UpdatedAt *time.Time + VelocityAveragedOver int + Version int + WeekStartDay Day + type ProjectService struct + func (service *ProjectService) Get(projectId int) (*Project, *http.Response, error) + func (service *ProjectService) List() ([]*Project, *http.Response, error) v1.2.0 Sep 29, 2015 Changes in this version + const PageLimit v1.1.0 Sep 2, 2015 v1.0.0 Sep 2, 2015 Changes in this version + const LibraryVersion + const StoryStateAccepted + const StoryStateDelivered + const StoryStateFinished + const StoryStatePlanned + const StoryStateRejected + const StoryStateStarted + const StoryStateUnscheduled + const StoryStateUnstarted + const StoryTypeBug + const StoryTypeChore + const StoryTypeFeature + const StoryTypeRelease + var ErrNoTrailingSlash = errors.New("trailing slash missing") + type Client struct + Me *MeService + Stories *StoryService + func NewClient(apiToken string) *Client + func (c *Client) Do(req *http.Request, v interface{}) (*http.Response, error) + func (c *Client) NewRequest(method, urlPath string, body interface{}) (*http.Request, error) + func (c *Client) SetBaseURL(baseURL string) error + func (c *Client) SetUserAgent(agent string) + type Comment struct + CommitIdentifier string + CommitType string + CreatedAt *time.Time + EpicId int + FileAttachmentIds []int + GoogleAttachmentIds []int + Id int + PersonId int + StoryId int + Text string + UpdatedAt *time.Time + type ErrAPI struct + Err *Error + Response *http.Response + func (err *ErrAPI) Error() string + type ErrFieldNotSet struct + func (err *ErrFieldNotSet) Error() string + type Error struct + Code string + Error string + GeneralProblem string + PossibleFix string + Requirement string + ValidationErrors []struct{ ... } + type Label struct + CreatedAt *time.Time + Id int + Kind string + Name string + ProjectId int + UpdatedAt *time.Time + type Me struct + ApiToken string + CreatedAt *time.Time + Email string + HasGoogleIdentity bool + Id int + Initials string + Name string + ProjectIds *[]int + ReceivedInAppNotifications bool + TimeZone *TimeZone + UpdatedAt *time.Time + Username string + WorkspaceIds *[]int + type MeService struct + func (service *MeService) Get() (*Me, *http.Response, error) + type Person struct + Email string + Id int + Initials string + Kind string + Name string + Username string + type Story struct + AcceptedAt *time.Time + CommentIds []int + CreatedAt *time.Time + Deadline *time.Time + Description string + Estimate *float64 + ExternalId string + FollowerIds []int + Id int + IntegrationId int + LabelIds []int + Labels []*Label + Name string + OwnerIds []int + ProjectId int + RequestedById int + State string + TaskIds []int + Tasks []int + Type string + URL string + UpdatedAt *time.Time + type StoryCursor struct + func (c *StoryCursor) Next() (s *Story, err error) + type StoryRequest struct + CommentIds *[]int + Description string + Estimate *float64 + FollowerIds *[]int + LabelIds *[]int + Labels *[]*Label + Name string + OwnerIds *[]int + State string + TaskIds *[]int + Tasks *[]int + Type string + type StoryService struct + func (service *StoryService) AddComment(projectId int, storyId int, comment *Comment) (*Comment, *http.Response, error) + func (service *StoryService) AddTask(projectId, storyId int, task *Task) (*http.Response, error) + func (service *StoryService) Get(projectId, storyId int) (*Story, *http.Response, error) + func (service *StoryService) Iterate(projectId int, filter string) (c *StoryCursor, err error) + func (service *StoryService) List(projectId int, filter string) ([]*Story, error) + func (service *StoryService) ListOwners(projectId, storyId int) ([]*Person, *http.Response, error) + func (service *StoryService) ListTasks(projectId, storyId int) ([]*Task, *http.Response, error) + func (service *StoryService) Update(projectId, storyId int, story *StoryRequest) (*Story, *http.Response, error) + type Task struct + Complete bool + CreatedAt *time.Time + Description string + Id int + Position int + StoryId int + UpdatedAt *time.Time + type TimeZone struct + Offset string + OlsonName string