Answer architecture round 5: the shipped packages are enus, svse, geose, geous and misc, each holding its files at its root under its manifest's namespace, and the errors use the wording a bench of the Audience chose

This commit is contained in:
2026-10-11 12:15:41 +02:00
committed by Lillem4n
parent 29a76d5d9a
commit 7b70530a8a
152 changed files with 217 additions and 132 deletions
+6 -7
View File
@@ -1,20 +1,19 @@
// Package data lists every module fejkdata ships. A module's tree spells its namespace:
// data/geo/SE embeds geo/SE/…, whose categories are geo.SE.*.
// Package data lists every module fejkdata ships.
package data
import (
"io/fs"
"github.com/larvit/fejkdata/data/en_US"
"github.com/larvit/fejkdata/data/geo/SE"
"github.com/larvit/fejkdata/data/geo/US"
"github.com/larvit/fejkdata/data/enus"
"github.com/larvit/fejkdata/data/geose"
"github.com/larvit/fejkdata/data/geous"
"github.com/larvit/fejkdata/data/misc"
"github.com/larvit/fejkdata/data/sv_SE"
"github.com/larvit/fejkdata/data/svse"
)
//go:generate env REGENERATE=1 go test -run ^TestShippedManifestsAreCurrent$ ..
// Modules returns every module fejkdata ships, to pass to fejkdata.WithDataFS.
func Modules() []fs.FS {
return []fs.FS{en_US.FS, SE.FS, US.FS, misc.FS, sv_SE.FS}
return []fs.FS{enus.FS, geose.FS, geous.FS, misc.FS, svse.FS}
}