silverwind 7238a3ea11 chore: expand AGENTS.md and add CLAUDE.md (#830)
Sync the conventions from https://github.com/go-gitea/gitea/blob/main/AGENTS.md that apply here, adapted to this repository's Makefile targets and test layout. Points specific to the server (locale files, TS/CSS, swagger generation, e2e tests) are omitted.

`CLAUDE.md` imports `AGENTS.md` so Claude Code picks up the same file, matching the main repository.

Assisted-by: Claude Code:claude-opus-5
Reviewed-on: #830
Reviewed-by: techknowlogick <9+techknowlogick@noreply.gitea.com>
Co-authored-by: silverwind <2021+silverwind@noreply.gitea.com>
2026-08-20 14:18:27 +00:00
2026-08-10 22:23:16 +00:00
2021-08-14 00:46:54 +08:00
2026-08-10 22:23:16 +00:00
2016-11-07 11:26:36 -02:00
2016-11-07 11:26:36 -02:00
2026-08-10 22:23:16 +00:00
2026-08-10 22:23:16 +00:00
2026-08-10 22:23:16 +00:00

Gitea SDK for Go

License: MIT Release Join the chat at https://img.shields.io/discord/322538954119184384.svg Go Report Card GoDoc

This project acts as a client SDK implementation written in Go to interact with the Gitea API implementation. For further informations take a look at the current documentation.

The SDK module path is now gitea.dev/sdk. If you are migrating from the previous code.gitea.io/sdk/gitea path, see docs/migrate-code-gitea-io-to-gitea-dev.md. If you are migrating from direct Client business methods to service-based entry points, see docs/migrate-client-to-services.md.

Note: function arguments are escaped by the SDK.

Use it

import "gitea.dev/sdk"

Version Requirements

  • go >= 1.26
  • gitea >= 1.11

Contributing

Fork -> Patch -> Push -> Pull Request

Run common development commands from the repository root, for example make build, make test-unit, and make lint.

The compatibility wrappers in client_services_wrappers.go are generated and deprecated in favor of client.<Service>.<Method>. For the full generated migration matrix from Client methods to services, see docs/migrate-client-to-services.md. Run go generate ./... or make generate after changing exported service methods.

Authors

License

This project is under the MIT License. See the LICENSE file for the full license text.

v1.2.0
Latest
2026-06-28 23:52:10 +00:00
Languages
Go 98.9%
Makefile 1.1%