Full-coverage Go client for the Forgejo API (450 endpoints)
Find a file
Snider 206749eb8a
All checks were successful
Security Scan / security (push) Successful in 8s
Test / test (push) Successful in 47s
Security Scan / security (pull_request) Successful in 9s
Test / test (pull_request) Successful in 45s
fix: Create uses collection path + road-test suite (Codex)
Bug: Resource.Create was POSTing to item path (/issues/{index})
instead of collection path (/issues). Same class as the List fix.

Tests: path validation on all service methods, Update tests for
issues/repos, CreateComment test, ListComments test, PR merge
error case (conflict handling).

227 lines of test coverage added by Codex agent.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-22 14:19:28 +00:00
.core chore: add .core/ build and release configs 2026-03-06 18:52:36 +00:00
.forgejo/workflows ci: add Forgejo Actions test and security scan workflows 2026-02-23 03:28:02 +00:00
.github/workflows ci: add Core ecosystem CI workflow with CodeRabbit auto-fix 2026-03-17 14:05:38 +00:00
cmd/forgegen refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
docs refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
testdata feat: scaffold go-forge repo with swagger spec and plan 2026-02-21 15:14:29 +00:00
types fix: StateType and TimeStamp are strings, not empty structs 2026-03-22 14:07:10 +00:00
.editorconfig chore: add Go repo norms (badges, contributing, lint, taskfile, editorconfig) 2026-02-23 06:45:34 +00:00
.gitignore chore: add .core/ and .idea/ to .gitignore 2026-03-15 10:17:49 +00:00
.golangci.yml chore: add Go repo norms (badges, contributing, lint, taskfile, editorconfig) 2026-02-23 06:45:34 +00:00
actions.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
actions_test.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
admin.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
admin_test.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
branches.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
branches_test.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
CLAUDE.md refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
client.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
client_test.go fix(dx): update CLAUDE.md and add tests for untested critical paths 2026-03-17 08:11:30 +00:00
commits.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
commits_test.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
config.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
config_test.go feat: config resolution from env vars and flags 2026-02-21 17:14:01 +00:00
contents.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
contents_test.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
CONTRIBUTING.md chore: add Go repo norms (badges, contributing, lint, taskfile, editorconfig) 2026-02-23 06:45:34 +00:00
doc.go feat: scaffold go-forge repo with swagger spec and plan 2026-02-21 15:14:29 +00:00
forge.go feat: WikiService, MiscService, CommitService 2026-02-21 17:14:01 +00:00
forge_test.go fix: Create uses collection path + road-test suite (Codex) 2026-03-22 14:19:28 +00:00
go.mod refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
go.sum refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
issues.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
issues_test.go fix: Create uses collection path + road-test suite (Codex) 2026-03-22 14:19:28 +00:00
labels.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
labels_test.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
misc.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
misc_test.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
notifications.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
notifications_test.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
orgs.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
orgs_test.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
packages.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
packages_test.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
pagination.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
pagination_test.go feat: modernise to Go 1.26 iterators and stdlib helpers 2026-02-23 05:39:13 +00:00
params.go feat: path parameter resolution with URL encoding 2026-02-21 15:23:07 +00:00
params_test.go feat: path parameter resolution with URL encoding 2026-02-21 15:23:07 +00:00
pulls.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
pulls_test.go fix: Create uses collection path + road-test suite (Codex) 2026-03-22 14:19:28 +00:00
README.md refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
releases.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
releases_test.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
repos.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
resource.go fix: Create uses collection path + road-test suite (Codex) 2026-03-22 14:19:28 +00:00
resource_test.go fix: Create uses collection path + road-test suite (Codex) 2026-03-22 14:19:28 +00:00
teams.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
teams_test.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
users.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
users_test.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
webhooks.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
webhooks_test.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
wiki.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00
wiki_test.go refactor(module): migrate module path to dappco.re/go/core/forge 2026-03-22 01:51:29 +00:00

Go Reference License: EUPL-1.2 Go Version

go-forge

Go module: dappco.re/go/core/forge

License

EUPL-1.2