Use manifest package name in generated code.

This commit is contained in:
John Beisley committed 2022-06-06 18:03:17 +01:00
1 parent 89dd64b3ce
commit 5a32790ea4
2 files changed
+7 -5

No files matched your search

+6 -4
View File
@@ -140,8 +140,9 @@ func processService(
}
err = tmpl.ExecuteTemplate(os.Stdout, "service", tmplArgs{
Imps: imps,
SCPD: sd,
Manifest: srvManifest,
Imps: imps,
SCPD: sd,
})
if err != nil {
return fmt.Errorf("executing srv_template: %w", err)
@@ -169,8 +170,9 @@ type ServiceManifest struct {
}
type tmplArgs struct {
Imps *imports
SCPD *srvdesc.SCPD
Manifest *ServiceManifest
Imps *imports
SCPD *srvdesc.SCPD
}
type imports struct {