Open
Description
Hi Dave,
What would you feel about adding a utility that generates code using reflect.Value
? The goal is to create something similar to the %#v
fmt
directive.
My immediate goal is building a tool that turns YAML files into pre-populated go structs, but I could see it being used other places where you want to create a reproducible instance of something. For example, a fuzzer could create a single file with a minimal working example of a struct that fails or a rules engine could compile together a bunch of rules generated from user-defined files.
Cheers!
- Joseph
Metadata
Assignees
Labels
No labels
Activity