checkvist-api is a type-safe, idiomatic Go client library for the Checkvist (https://checkvist.com/) API.
Find a file
Oliver Jakoubek 0bb7d2d735 Add unit tests for Checklists
Create checklists_test.go with comprehensive tests:
- TestChecklists_List: list all checklists
- TestChecklists_ListArchived: list with archived filter
- TestChecklists_Get: get single checklist by ID
- TestChecklists_Get_NotFound: handle 404 error
- TestChecklists_Create: create new checklist
- TestChecklists_Update: update checklist name
- TestChecklists_Delete: delete checklist

Add testdata/checklists/ fixtures:
- list.json: sample checklist list
- list_archived.json: archived checklists
- single.json: single checklist response

All 7 tests pass using httptest.Server mocking.

Closes checkvist-api-347
2026-01-14 13:42:05 +01:00
.beads Add unit tests for Checklists 2026-01-14 13:42:05 +01:00
magefiles Set up Mage build targets 2026-01-14 13:33:14 +01:00
testdata Add unit tests for Checklists 2026-01-14 13:42:05 +01:00
.gitattributes Initial commit 2026-01-14 12:42:00 +01:00
.gitignore Initial commit 2026-01-14 12:42:00 +01:00
AGENTS.md Initial commit 2026-01-14 12:42:00 +01:00
CHANGELOG.md Create CHANGELOG following Keep a Changelog format 2026-01-14 13:37:05 +01:00
checklists.go Implement Checklist operations 2026-01-14 13:38:13 +01:00
checklists_test.go Add unit tests for Checklists 2026-01-14 13:42:05 +01:00
client.go Implement HTTP request helper with retry logic 2026-01-14 13:28:03 +01:00
client_test.go Add unit tests for Client and Auth 2026-01-14 13:35:44 +01:00
errors.go Implement error types and sentinel errors 2026-01-14 13:23:48 +01:00
filter.go Initial commit 2026-01-14 12:42:00 +01:00
go.mod Initial commit 2026-01-14 12:42:00 +01:00
LICENSE Initial commit 2026-01-14 12:42:00 +01:00
models.go Implement data models for Checkvist API entities 2026-01-14 13:22:29 +01:00
notes.go Implement Note operations 2026-01-14 13:40:37 +01:00
options.go Implement Client struct with functional options 2026-01-14 13:25:03 +01:00
tasks.go Implement Task operations 2026-01-14 13:39:37 +01:00