Skip to content

Commit b29aaff

Browse files
bstollrobshakir
andauthored
Add generated file comment at top of files. (#1057)
Co-authored-by: Rob Shakir <[email protected]>
1 parent 34261f7 commit b29aaff

File tree

88 files changed

+176
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+176
-0
lines changed

gogen/gogen.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,8 @@ var (
298298
// goCommonHeaderTemplate is populated and output at the top of the generated code package
299299
goCommonHeaderTemplate = mustMakeTemplate("commonHeader", `
300300
{{- /**/ -}}
301+
// Code generated by {{ .GeneratingBinary }}. DO NOT EDIT.
302+
301303
/*
302304
Package {{ .PackageName }} is a generated package which contains definitions
303305
of structs which represent a YANG schema. The generated schema can be

gogen/testdata/schema/openconfig-options-compress-fakeroot.formatted-txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Code generated by codegen-tests. DO NOT EDIT.
2+
13
/*
24
Package ocstructs is a generated package which contains definitions
35
of structs which represent a YANG schema. The generated schema can be

gogen/testdata/schema/openconfig-options-compress.formatted-txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Code generated by codegen-tests. DO NOT EDIT.
2+
13
/*
24
Package ocstructs is a generated package which contains definitions
35
of structs which represent a YANG schema. The generated schema can be

gogen/testdata/schema/openconfig-options-explicit.formatted-txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Code generated by testcase. DO NOT EDIT.
2+
13
/*
24
Package ocstructs is a generated package which contains definitions
35
of structs which represent a YANG schema. The generated schema can be

gogen/testdata/schema/openconfig-options-nocompress-fakeroot.formatted-txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Code generated by codegen-tests. DO NOT EDIT.
2+
13
/*
24
Package ocstructs is a generated package which contains definitions
35
of structs which represent a YANG schema. The generated schema can be

gogen/testdata/schema/openconfig-options-nocompress.formatted-txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Code generated by codegen-tests. DO NOT EDIT.
2+
13
/*
24
Package ocstructs is a generated package which contains definitions
35
of structs which represent a YANG schema. The generated schema can be

gogen/testdata/structs/choice-case-example.formatted-txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Code generated by codegen-tests. DO NOT EDIT.
2+
13
/*
24
Package ocstructs is a generated package which contains definitions
35
of structs which represent a YANG schema. The generated schema can be

gogen/testdata/structs/deviate-not-supported-keep.formatted-txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Code generated by codegen-tests. DO NOT EDIT.
2+
13
/*
24
Package ocstructs is a generated package which contains definitions
35
of structs which represent a YANG schema. The generated schema can be

gogen/testdata/structs/deviate-not-supported.formatted-txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Code generated by codegen-tests. DO NOT EDIT.
2+
13
/*
24
Package ocstructs is a generated package which contains definitions
35
of structs which represent a YANG schema. The generated schema can be

gogen/testdata/structs/empty.formatted-txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Code generated by codegen-tests. DO NOT EDIT.
2+
13
/*
24
Package ocstructs is a generated package which contains definitions
35
of structs which represent a YANG schema. The generated schema can be

0 commit comments

Comments
 (0)