Update gen templates for license/gen info (#3211)
This commit is contained in:
1 parent
869310d7da
commit
a6fe1a5815
120 files changed
+327
-1
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user