Commit graph

6 commits

Author SHA1 Message Date
Snider
0a9564274d refactor(module): migrate module path to dappco.re/go/core/forge
All checks were successful
Security Scan / security (pull_request) Successful in 9s
Test / test (pull_request) Successful in 1m20s
Update Go module path from forge.lthn.ai/core/go-forge to
dappco.re/go/core/forge. Migrate all import paths and dependency
references (go-io → dappco.re/go/core/io, go-log → dappco.re/go/core/log).
Update documentation (CLAUDE.md, README.md, docs/) to reflect new paths.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-22 01:51:29 +00:00
Snider
f84643140e refactor: replace os.ReadFile/WriteFile/MkdirAll and fmt.Errorf/errors.New with go-io/go-log
All checks were successful
Security Scan / security (push) Successful in 7s
Test / test (push) Successful in 1m18s
- Replace os.ReadFile with coreio.Local.Read in parser.go and generator_test.go
- Replace os.WriteFile with coreio.Local.Write in generator.go
- Replace os.MkdirAll with coreio.Local.EnsureDir in generator.go
- Replace all fmt.Errorf and errors.New with coreerr.E() from go-log
- Add forge.lthn.ai/core/go-io and forge.lthn.ai/core/go-log dependencies

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 19:06:48 +00:00
Snider
72fb4e3b8e fix: improve API client error handling and pagination
All checks were successful
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 1m12s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 08:31:16 +00:00
Snider
57d8af13ad feat: modernise to Go 1.26 iterators and stdlib helpers
All checks were successful
Security Scan / security (push) Successful in 14s
Test / test (push) Successful in 2m1s
Add ListIter in pagination + generic Resource.Iter for streaming
paginated results as iter.Seq2[T, error]. Add Iter* methods across
all service files (actions, admin, branches, issues, labels, notifs,
orgs, packages, pulls, releases, repos, teams, users, webhooks).
Modernise cmd/forgegen with slices.Sort, maps.Keys, strings.FieldsFuncSeq.

Co-Authored-By: Gemini <noreply@google.com>
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-23 05:39:13 +00:00
Snider
286d91383f feat: generic Resource[T,C,U] for CRUD operations
Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 15:27:01 +00:00
Snider
549962ba00 feat: generic pagination with ListAll and ListPage
Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 15:22:59 +00:00