Factor code template into a file.

This allows code regeneration without rebuilding the generator binary.
This commit is contained in:
John Beisley
2021-08-14 10:17:22 +01:00
committed by Huin
parent 0668181616
commit a37fadc3ba
7 changed files with 32 additions and 31 deletions

View File

@ -1,2 +1,2 @@
//go:generate goupnpdcpgen -dcp_name av1
//go:generate goupnpdcpgen -dcp_name av1 -code_tmpl_file ../dcps.gotemplate
package av1