Answer prose round 1: the id bullet sets apart the test series and the real-looking SSNs, the own-data bullet names a path rather than a category, the stdin heading names all it covers, and doc.go's namespace sentence has its subject
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
//
|
||||
// Data lives in JSON, not in Go, and comes in modules: a Go package exporting an fs.FS,
|
||||
// or a folder. A generator loads the modules you name, such as data.Modules(), every
|
||||
// module fejkdata ships, from github.com/larvit/fejkdata/data; folders and files become a
|
||||
// dot-path namespace, then generate values by path:
|
||||
// module fejkdata ships, from github.com/larvit/fejkdata/data. Their folders and files
|
||||
// become a dot-path namespace, and you generate values by path:
|
||||
//
|
||||
// f, _ := fejkdata.New(fejkdata.WithDataFS(data.Modules()...), fejkdata.WithSeed(42))
|
||||
// f.Fake("sv_SE.address") // "Trekungagatan 43\n442 42 Kungälv"
|
||||
|
||||
Reference in New Issue
Block a user