Factor code template into a file.

This allows code regeneration without rebuilding the generator binary.
This commit is contained in:
John Beisley
2022-03-24 19:46:39 +00:00
committed by Huin
parent 0668181616
commit a37fadc3ba
7 changed files with 32 additions and 31 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
//go:generate goupnpdcpgen -dcp_name internetgateway1
//go:generate goupnpdcpgen -dcp_name internetgateway1 -code_tmpl_file ../dcps.gotemplate
package internetgateway1