25 Commits
Author SHA1 Message Date
Ajay Kemparaj f9fec07de4 feat: Require Go 1.26 and use new(expr) for pointer literals (#4481) 2026-08-28 12:18:49 -04:00
Glenn Lewis 595de3d4b8 chore: Replace time.Date with referenceTime (#4325) 2026-06-24 15:42:55 -04:00
Oleksandr Redko 3215e0320e test: Remove redundant Marshal tests (#4266) 2026-06-04 09:22:07 -04:00
Dhananjay Mishra 0a16e22eba refactor: Use testJSONBody helper for request body assertions in tests (#4183) 2026-05-01 08:13:24 -04:00
Glenn Lewis a2063a76fb chore: Remove unnecessary use of new and &SomeStruct{} and add new extraneousnew custom linter (#4106) 2026-03-18 17:12:53 -04:00
Oleksandr Redko 5158bb8e5f chore: Improve testJSONMarshal (#4042) 2026-02-27 07:27:18 -05:00
Oleksandr Redko 1b4b8cc2ac chore: Enable nolintlint linter (#3821) 2025-11-10 14:58:53 -05:00
Oleksandr Redko d47559a679 chore: Enable 'modernize'; bump golangci-lint to v2.6.1 (#3817) 2025-11-08 15:10:32 -05:00
Glenn Lewis 4505771989 Prefer %v over %d,%s and add fmtpercentv custom linter (#3756) 2025-10-05 21:39:53 -04:00
Oleksandr Redko 233fe03e17 test: Use t.Context() instead of context.Background() (#3750) 2025-10-03 08:09:47 -04:00
Iehana Fu cd80b0a575 refactor: Use errors package to compare and assert error types (#3739) 2025-09-30 09:15:20 -04:00
Oleksandr Redko ff1666c906 refactor: Fix revive.unnecessary-format lint issues (#3629) 2025-07-19 14:01:40 -04:00
Oleksandr Redko f66ed85955 feat: Deprecate and replace Bool,Int,Int64,String with Ptr using generics (#3355) 2024-12-10 21:36:09 -05:00
Glenn Lewis dc884c26ca Add t.Parallel to unit tests (#3297) 2024-10-05 07:29:05 -04:00
Glenn Lewis e56d378b96 refactor: Do not call teardown manually in tests (#3296) 2024-10-01 11:52:30 -04:00
Oleksandr Redko 2406067865 fix: Correct typos in vars, comments, tests (#3289) 2024-09-24 11:05:32 -04:00
WillAbides fd33b81221 Fix linting (#2903) 2023-09-08 08:55:37 -04:00
Nikita Pivkin 38ca69f37f Return json.Unmarshal error when importing issues deferred (#2892) 2023-08-22 08:26:27 -04:00
Victory Osikwemhe cdecead485 Change all fields from time.Time to github.Timestamp (#2646) 2023-01-26 16:39:42 -05:00
Glenn Lewis 3e8a7f0fbe Clean up method return consistency (#2318) 2022-03-24 23:16:22 -04:00
Sagar Sonwane 87f9f26bf3 Add test cases for JSON resource marshaling (#1976) 2021-07-13 13:22:12 -04:00
Sagar Sonwane 51e7595f87 fix: Updated comparisons in test files (#1875)
Replaced all reflect.DeepEqual comparisons in test files with cmp.Equal.

Fixes: #1851
2021-05-26 11:49:24 -07:00
Glenn Lewis 4e918d5593 Improve issue_import.go coverage (#1742) 2020-12-25 18:54:22 -05:00
Glenn Lewis 460db534b8 Refactor context.Background in tests (#1672) 2020-12-16 05:58:28 -05:00
Asier Marruedo 6cbf5c6e88 Add support for Issue Import GitHub API (#1595) 2020-08-15 17:12:23 -04:00