Commit 28a82f04 authored by hannahhoward's avatar hannahhoward

fix(schema/gen): add code gen disclaimer

Add a disclaimer to the header for generated code to prevent linters from complaining
parent 02b9c8dc
......@@ -95,6 +95,7 @@ func EmitFileHeader(packageName string, w io.Writer) {
fmt.Fprintf(w, "\t\"github.com/ipld/go-ipld-prime/impl/typed\"\n")
fmt.Fprintf(w, "\t\"github.com/ipld/go-ipld-prime/schema\"\n")
fmt.Fprintf(w, ")\n\n")
fmt.Fprintf(w, "// Code generated go-ipld-prime DO NOT EDIT.\n\n")
}
// EmitEntireType outputs every possible type of code generation for a
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment