Single Field Model
This example demonstrates the simplest possible datagen model: a single field with a static value.
Create a file named users.dg:
model users { fields { name() string }
gens { func name() { return "John Doe" } }}How to Run
Section titled “How to Run”$ datagenc gen . -f csv -n 3Output
Section titled “Output”$ cat users.csvnameJohn DoeJohn DoeJohn Doe