Update gen templates for license/gen info (#3211)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2023-05-09 12:03:54 -04:00
1 parent 869310d7da
commit a6fe1a5815
120 files changed
+327 -1

No files matched your search

+4 -1
View File
@@ -589,6 +589,9 @@ var structTemplate = template.Must(template.New("").Funcs(
},
).Parse(
fmt.Sprint(`// Code generated by "make api"; DO NOT EDIT.
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
package {{ .Package }}
import (
@@ -683,7 +686,7 @@ var optionTemplate = template.Must(template.New("").Funcs(
"makeSlice": makeSlice,
"removeDups": removeDups,
},
).Parse(`
).Parse(`// Code generated by "make api"; DO NOT EDIT.
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0