mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
golang/xenlight: add an empty line after DO NOT EDIT comment
When generating documentation, pkg.go.dev and godoc.org assume a comment that immediately precedes the package declaration is a "package comment", and should be shown in the documentation. Add an empty line after the DO NOT EDIT comment in generated files to prevent these comments from appearing as "package comments." Signed-off-by: Nick Rosbrook <rosbrookn@ainfosec.com> Reviewed-by: George Dunlap <george.dunlap@citrix.com>
This commit is contained in:
1 parent
abf378e648
commit
5e015d48a5
3 files changed
+3
No files matched your search
@@ -737,6 +737,7 @@ if __name__ == '__main__':
|
||||
// This file is generated by:
|
||||
// {}
|
||||
//
|
||||
|
||||
""".format(' '.join(sys.argv))
|
||||
|
||||
xenlight_golang_generate_types(types=types,
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
// This file is generated by:
|
||||
// gengotypes.py ../../libxl/libxl_types.idl
|
||||
//
|
||||
|
||||
package xenlight
|
||||
|
||||
import (
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
// This file is generated by:
|
||||
// gengotypes.py ../../libxl/libxl_types.idl
|
||||
//
|
||||
|
||||
package xenlight
|
||||
|
||||
type Error int
|
||||
|
||||