Add documentation about codegen

This commit is contained in:
Aaron Boodman
2015-06-02 23:41:26 -07:00
parent 228186dfee
commit f973bb6536
11 changed files with 56 additions and 0 deletions

View File

@@ -36,6 +36,14 @@ func (nw *nomWriter) Write(w io.Writer, typ typewriter.Type) error {
if err != nil {
return err
}
w.Write([]byte(`
// DO NOT EDIT
//
// This file was generated by a tool.
// See http://clipperhouse.github.io/gen for details.
`))
if err := tmpl.Execute(w, typ); err != nil {
return err
}