mirror of
https://github.com/iamxvbaba/gramsrv.git
synced 2026-11-15 10:45:16 +03:00
b551a239f5
Translate all natural-language comments, log/diagnostic messages, SQL comments and config/doc prose from Chinese (and Russian) to English across the codebase (~840 files). Rebased on upstream main; upstream's newly added files are translated too. Locale resources and functional non-English data are left intact: language packs, admin/grammystore i18n bundles, localized docs, the officialBrandRE regex, seeded Russian premium-bot text, user-facing Russian bot strings and asserted Unicode test fixtures. A new internal/translation guard test fails if CJK/Cyrillic reappears in source outside that allowlist. No code, identifiers, struct tags or behavior changed (verified with an AST-level comment/string audit). go build ./..., go vet ./... and the guard pass.
13 lines
404 B
Go
13 lines
404 B
Go
// Package deploy provides embedded access to deployment-time resources
|
|
// (migration scripts).
|
|
package deploy
|
|
|
|
import "embed"
|
|
|
|
// Migrations is the embedded set of golang-migrate migration scripts
|
|
// (deploy/migrations/*.sql). It is executed at startup by store/postgres's
|
|
// migration runner, avoiding a runtime dependency on external file paths.
|
|
//
|
|
//go:embed migrations/*.sql
|
|
var Migrations embed.FS
|