Skip to content

Commit

Permalink
doc: Fix minor lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiht committed Jun 8, 2018
1 parent 1c63e25 commit 8150c9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion group.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ type GroupMember struct {
TimeZone string `json:"timeZone,omitempty"`
}

// GroupSearchOptions specifies the optional parameters for the Get Group methods
type GroupSearchOptions struct {
StartAt int
MaxResults int
Expand Down Expand Up @@ -78,7 +79,7 @@ func (s *GroupService) Get(name string) ([]GroupMember, *Response, error) {
return group.Members, resp, nil
}

// Get returns a paginated list of members of the specified group and its subgroups.
// GetWithOptions returns a paginated list of members of the specified group and its subgroups.
// Users in the page are ordered by user names.
// User of this resource is required to have sysadmin or admin permissions.
//
Expand Down
3 changes: 2 additions & 1 deletion sprint.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package jira

import (
"fmt"

"github.com/google/go-querystring/query"
)

Expand Down Expand Up @@ -67,7 +68,7 @@ func (s *SprintService) GetIssuesForSprint(sprintID int) ([]Issue, *Response, er
return result.Issues, resp, err
}

// Get returns a full representation of the issue for the given issue key.
// GetIssue returns a full representation of the issue for the given issue key.
// JIRA will attempt to identify the issue by the issueIdOrKey path parameter.
// This can be an issue id, or an issue key.
// If the issue cannot be found via an exact match, JIRA will also look for the issue in a case-insensitive way, or by looking to see if the issue was moved.
Expand Down

0 comments on commit 8150c9b

Please sign in to comment.