1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2024-12-10 10:10:10 +02:00
Commit Graph

12 Commits

Author SHA1 Message Date
Andy Grunwald
43e8242f2c
style: Fix staticcheck (static analysis) errors for this library (#283)
* style: Fix staticcheck errors for "error strings should not be capitalized (ST1005)"

staticcheck is a static analysis tool for go.
It reports several "error strings should not be capitalized (ST1005)" messages.
Here, we fix it to be more compliant with the go coding styleguide.

Related: #280

* style: Fix staticcheck errors for "printf-style function with dynamic format ... (SA1006)"

staticcheck is a static analysis tool for go.
It reports several "printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)" messages.
Here, we fix it to be more compliant with the go coding styleguide.

Related: #280

* style: Fix staticcheck errors for "type X is unused (U1000)"

staticcheck is a static analysis tool for go.
It reports several "type X is unused (U1000)" messages.
Here, we fix it to be more compliant with the go coding styleguide.

Related: #280

* style: Fix staticcheck errors for "should use X instead (S1003 & SA6005)"

staticcheck is a static analysis tool for go.
It reports several

- should use !bytes.Contains(b, []byte(`"password":"bar"`)) instead (S1003)
- should use strings.EqualFold instead (SA6005)

messages.
Here, we fix it to be more compliant with the go coding styleguide.

Related: #280

* style: Fix staticcheck errors for "unnecessary use of fmt.Sprintf (S1039)"

staticcheck is a static analysis tool for go.
It report several "unnecessary use of fmt.Sprintf (S1039)" messages.
Here, we fix it to be more compliant with the go coding styleguide.

Related: #280

* style: Fix staticcheck errors for "this value of X is never used (SA4006)"

staticcheck is a static analysis tool for go.
It report several "this value of X is never used (SA4006)" messages.
Here, we fix it to be more compliant with the go coding styleguide.

Related: #280

* style: Fix staticcheck errors for "redundant return statement (S1023)"

staticcheck is a static analysis tool for go.
It report several "redundant return statement (S1023)" messages.
Here, we fix it to be more compliant with the go coding styleguide.

Related: #280

* style: Fix staticcheck errors for "possible nil pointer dereference (SA5011)"

staticcheck is a static analysis tool for go.
It report several

    file.go:Line:character: possible nil pointer dereference (SA5011)
        file.go:Line:character: this check suggests that the pointer can be nil

messages.
Here, we fix it to be more compliant with the go coding styleguide.

Related: #280

* style: Fix staticcheck errors for "this value of X is never used (SA4006)"

staticcheck is a static analysis tool for go.
It report several "this value of X is never used (SA4006)" messages.
Here, we fix it to be more compliant with the go coding styleguide.

Related: #280
2020-05-02 23:08:01 +02:00
Omar
fd698c5716 feat: AddGetBoardConfiguration 2019-08-19 13:05:52 -07:00
Dimitris Stafylarakis
7e0dd0ed39 Fix board request parameter
The BoardListOption field BoardType was incorrectly mapped to boardType
instead of type. This commit fixes it. A generic test helper
function (testRequestParams) is added in order to improve the
effectiveness of the unit test.

Fixes #213
2019-05-12 10:59:41 +02:00
Shawn Catanzarite
231bc31ebd Support state filter for GetAllSprints call
* creates a GetAllSprintsOptions structure
* adds a new GetAllSprintsWithOptions method to accept an int boardID and new options structure
* adds filtering functionality to GetAllSprintsWithOptions method
* adds SprintsList type for handling pagination results data from GetAllSprints request
* updates tests
2018-06-11 15:54:28 -07:00
Andy Grunwald
753367d382 Moved Board-Functionality to BoardService and renamed Sprint function according to the API 2016-07-17 11:17:29 +02:00
Andy Grunwald
4ef9c13c74 Renamed Board methods according their API names 2016-07-17 11:08:07 +02:00
Andy Grunwald
c0b29dac50 Adjusted PR #19
* go doc
* go fmt
* Usage of already existing structs
* Adjustments related to the wrapping response
2016-06-19 15:08:53 +02:00
Evgen Kostenko
c66a9e0e77 add delete board with tests + go fmt 2016-06-16 12:20:47 +03:00
Evgen Kostenko
7d8addc179 add board create with tests 2016-06-16 10:52:16 +03:00
Evgen Kostenko
9f8d06db41 go fmt boards 2016-06-15 20:15:12 +03:00
Evgen Kostenko
81b91847b3 Implement BoardService and get boards list with parameters 2016-06-15 20:08:15 +03:00
Evgen Kostenko
065bb9db44 Add boards and fix some bugs in project 2016-06-15 12:20:37 +03:00