Short and single-letter names in application code become full words (tests keep theirs). Wrapped calls, signatures and composite literals put one item per line, and one-line function bodies are expanded. Exported names and groups of constants get doc comments, and comments refer to the renamed identifiers.
13 lines
488 B
Go
13 lines
488 B
Go
// Package mock implements a mock of the Find a Tender (FTS) OCDS release
|
|
// package endpoint (GET /api/1.0/ocdsReleasePackages): a catalog of buyers,
|
|
// suppliers, subjects and methods loaded from catalog.json, a persistent
|
|
// release store, a generator with a background worker, the HTTP handler and a
|
|
// per-client rate limiter.
|
|
package mock
|
|
|
|
// Files kept in the mock-data directory.
|
|
const (
|
|
// ReleasesFile is created and appended to by the mock.
|
|
ReleasesFile = "releases.jsonl"
|
|
)
|