Ship en_US, sv_SE, misc, geo/SE and geo/US as Go packages exporting FS, listed by data.Modules(), and fail a bare New naming WithDataFS
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// Package en_US is fejkdata's en_US locale module.
|
||||
package en_US
|
||||
|
||||
import "embed"
|
||||
|
||||
// FS holds the en_US categories and the module's manifest; pass it to fejkdata.WithDataFS.
|
||||
//
|
||||
//go:embed en_US .fejkdata.json
|
||||
var FS embed.FS
|
||||
Reference in New Issue
Block a user