Files
mopac-gitea-go/gitea/doc.go
T

14 lines
667 B
Go

// Package gitea is a stdlib-only client for the Gitea API (JSON over
// /api/v1). It exists so the harness, the loop, and every vertical talk
// to the forge through one Go library instead of shell glue: repo
// create/list, branch list, commit statuses, and the full pull-request
// flow (create/list/merge) — the surface the turn harness needs to land
// work via PRs.
//
// Security discipline: the token travels ONLY in the
// "Authorization: token <key>" header. Response bodies are never
// surfaced in error strings (a server echo is assumed to be able to
// carry the token), so errors are one-line, parseable
// "sentinel: http NNN" shapes.
package gitea