clipperhouse / gen

Type-driven code generation for Go
http://clipperhouse.com/gen/overview/
Other
1.43k stars 90 forks source link

gen off a template ? #103

Open joeblew99 opened 7 years ago

joeblew99 commented 7 years ago

I reckon this is way out of scope, but worth asking here..

Lets say i make a template in go. Lets say its JSON or XML. Is there a library to help me reflect off the AST of that template to produce a struct that maps tothe template ?

that would be way cool :)