Documentation
¶
Overview ¶
Package seed provisions the deterministic test fixture: two organisations (alpha, beta) and three plaintext API keys (key-alpha, key-alpha2, key-beta). Plaintext keys + org IDs are written to <dir>/{key,org}-*.txt for the test runner to consume by file.
Seed is idempotent: re-running on an already-seeded DB no-ops (orgs found by name, keys regenerated only if the org has none).
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAlreadySeeded = errors.New("already seeded")
Sentinel for callers that want to detect "already done" — currently unused but useful when the seeder grows.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.