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 misc is fejkdata's misc module.
|
||||
package misc
|
||||
|
||||
import "embed"
|
||||
|
||||
// FS holds the misc categories and the module's manifest; pass it to fejkdata.WithDataFS.
|
||||
//
|
||||
//go:embed misc .fejkdata.json
|
||||
var FS embed.FS
|
||||
Reference in New Issue
Block a user