Define draw, hold, pin, family, whole and fence in the package doc

This commit is contained in:
2026-09-21 10:13:34 +02:00
committed by Lillem4n
parent 0c322f50a5
commit f569580077
4 changed files with 42 additions and 15 deletions
-12
View File
@@ -1,15 +1,3 @@
// Package fejkdata generates fake data from recursive JSON templates.
//
// Data lives in JSON, not in Go. A generator starts from the shipped data set and
// layers any directories you add; folders and files become a dot-path namespace,
// then generate values by path:
//
// f, _ := fejkdata.New(fejkdata.WithSeed(42))
// f.Fake("sv_SE.address") // "Järvedsvägen 43\n891 77 Järved"
// f.Fake("sv_SE.address.locality") // "Sundbyberg": a second call draws afresh
//
// Several sources merge in order, the last winning a name clash, so custom data
// layers over the built-ins. The JSON template format is documented in the README.
package fejkdata
import (