diff --git a/changelog/pending/20221111--sdkgen-go--fixes-superfluous-newline-being-added-between-documentation-comment-and-package-statement-in-doc-go.yaml b/changelog/pending/20221111--sdkgen-go--fixes-superfluous-newline-being-added-between-documentation-comment-and-package-statement-in-doc-go.yaml new file mode 100644 index 000000000000..928e08367fa5 --- /dev/null +++ b/changelog/pending/20221111--sdkgen-go--fixes-superfluous-newline-being-added-between-documentation-comment-and-package-statement-in-doc-go.yaml @@ -0,0 +1,4 @@ +changes: +- type: fix + scope: sdkgen/go + description: Fixes superfluous newline being added between documentation comment and package statement in doc.go diff --git a/pkg/codegen/go/gen.go b/pkg/codegen/go/gen.go index 029f2ef7e03f..215d792fb1c8 100644 --- a/pkg/codegen/go/gen.go +++ b/pkg/codegen/go/gen.go @@ -838,6 +838,9 @@ func (pkg *pkgContext) toOutputMethod(t schema.Type) string { return "To" + outputTypeName } +// printComment filters examples for the Go languages and prepends double forward slash to each line in the given +// comment. If indent is true, each line is indented with tab character. It returns the number of lines in the +// resulting comment. It guarantees that each line is terminated with newline character. func printComment(w io.Writer, comment string, indent bool) int { comment = codegen.FilterExamples(comment, "go") @@ -1312,7 +1315,6 @@ func (pkg *pkgContext) fieldName(r *schema.Resource, field *schema.Property) str func (pkg *pkgContext) genPlainType(w io.Writer, name, comment, deprecationMessage string, properties []*schema.Property) { - printCommentWithDeprecationMessage(w, comment, deprecationMessage, false) fmt.Fprintf(w, "type %s struct {\n", name) for _, p := range properties { @@ -3602,7 +3604,6 @@ func GeneratePackage(tool string, pkg *schema.Package) (map[string][]byte, error } else { fmt.Fprintf(buffer, "// Package %[1]s exports types, functions, subpackages for provisioning %[1]s resources.\n", name) } - fmt.Fprintf(buffer, "\n") fmt.Fprintf(buffer, "package %s\n", name) setFile(path.Join(mod, "doc.go"), buffer.String()) diff --git a/pkg/codegen/testing/test/testdata/azure-native-nested-types/go/azure/doc.go b/pkg/codegen/testing/test/testdata/azure-native-nested-types/go/azure/doc.go index 44f40f49661e..ac02d4c8b2b0 100644 --- a/pkg/codegen/testing/test/testdata/azure-native-nested-types/go/azure/doc.go +++ b/pkg/codegen/testing/test/testdata/azure-native-nested-types/go/azure/doc.go @@ -1,3 +1,2 @@ // A native Pulumi package for creating and managing Azure resources. - package azure diff --git a/pkg/codegen/testing/test/testdata/cyclic-types/go/example/doc.go b/pkg/codegen/testing/test/testdata/cyclic-types/go/example/doc.go index 50164dcb24b8..18a08714b269 100644 --- a/pkg/codegen/testing/test/testdata/cyclic-types/go/example/doc.go +++ b/pkg/codegen/testing/test/testdata/cyclic-types/go/example/doc.go @@ -1,3 +1,2 @@ // Package example exports types, functions, subpackages for provisioning example resources. - package example diff --git a/pkg/codegen/testing/test/testdata/dash-named-schema/go/foo/doc.go b/pkg/codegen/testing/test/testdata/dash-named-schema/go/foo/doc.go index f6674ee5a299..e37e1a067110 100644 --- a/pkg/codegen/testing/test/testdata/dash-named-schema/go/foo/doc.go +++ b/pkg/codegen/testing/test/testdata/dash-named-schema/go/foo/doc.go @@ -1,3 +1,2 @@ // Package foo exports types, functions, subpackages for provisioning foo resources. - package foo diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/go/plant-provider/doc.go b/pkg/codegen/testing/test/testdata/dashed-import-schema/go/plant-provider/doc.go index f60ee7e19ebb..6b8c2801d015 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/go/plant-provider/doc.go +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/go/plant-provider/doc.go @@ -1,3 +1,2 @@ // Package plantprovider exports types, functions, subpackages for provisioning plantprovider resources. - package plantprovider diff --git a/pkg/codegen/testing/test/testdata/different-enum/go/plant/doc.go b/pkg/codegen/testing/test/testdata/different-enum/go/plant/doc.go index 0afb8c9b7d83..e9f1f6a792a3 100644 --- a/pkg/codegen/testing/test/testdata/different-enum/go/plant/doc.go +++ b/pkg/codegen/testing/test/testdata/different-enum/go/plant/doc.go @@ -1,3 +1,2 @@ // Package plant exports types, functions, subpackages for provisioning plant resources. - package plant diff --git a/pkg/codegen/testing/test/testdata/enum-reference/go/example/doc.go b/pkg/codegen/testing/test/testdata/enum-reference/go/example/doc.go index 50164dcb24b8..18a08714b269 100644 --- a/pkg/codegen/testing/test/testdata/enum-reference/go/example/doc.go +++ b/pkg/codegen/testing/test/testdata/enum-reference/go/example/doc.go @@ -1,3 +1,2 @@ // Package example exports types, functions, subpackages for provisioning example resources. - package example diff --git a/pkg/codegen/testing/test/testdata/external-enum/go/example/doc.go b/pkg/codegen/testing/test/testdata/external-enum/go/example/doc.go index 50164dcb24b8..18a08714b269 100644 --- a/pkg/codegen/testing/test/testdata/external-enum/go/example/doc.go +++ b/pkg/codegen/testing/test/testdata/external-enum/go/example/doc.go @@ -1,3 +1,2 @@ // Package example exports types, functions, subpackages for provisioning example resources. - package example diff --git a/pkg/codegen/testing/test/testdata/external-go-import-aliases/go/example/doc.go b/pkg/codegen/testing/test/testdata/external-go-import-aliases/go/example/doc.go index 50164dcb24b8..18a08714b269 100644 --- a/pkg/codegen/testing/test/testdata/external-go-import-aliases/go/example/doc.go +++ b/pkg/codegen/testing/test/testdata/external-go-import-aliases/go/example/doc.go @@ -1,3 +1,2 @@ // Package example exports types, functions, subpackages for provisioning example resources. - package example diff --git a/pkg/codegen/testing/test/testdata/external-resource-schema/go/example/doc.go b/pkg/codegen/testing/test/testdata/external-resource-schema/go/example/doc.go index 50164dcb24b8..18a08714b269 100644 --- a/pkg/codegen/testing/test/testdata/external-resource-schema/go/example/doc.go +++ b/pkg/codegen/testing/test/testdata/external-resource-schema/go/example/doc.go @@ -1,3 +1,2 @@ // Package example exports types, functions, subpackages for provisioning example resources. - package example diff --git a/pkg/codegen/testing/test/testdata/functions-secrets/go/mypkg/doc.go b/pkg/codegen/testing/test/testdata/functions-secrets/go/mypkg/doc.go index a76bd9457617..7360d0972046 100644 --- a/pkg/codegen/testing/test/testdata/functions-secrets/go/mypkg/doc.go +++ b/pkg/codegen/testing/test/testdata/functions-secrets/go/mypkg/doc.go @@ -1,3 +1,2 @@ // Package mypkg exports types, functions, subpackages for provisioning mypkg resources. - package mypkg diff --git a/pkg/codegen/testing/test/testdata/go-nested-collections/go/repro/doc.go b/pkg/codegen/testing/test/testdata/go-nested-collections/go/repro/doc.go index 48ad71d390bd..fd42e96cc1a9 100644 --- a/pkg/codegen/testing/test/testdata/go-nested-collections/go/repro/doc.go +++ b/pkg/codegen/testing/test/testdata/go-nested-collections/go/repro/doc.go @@ -1,3 +1,2 @@ // Package repro exports types, functions, subpackages for provisioning repro resources. - package repro diff --git a/pkg/codegen/testing/test/testdata/go-plain-ref-repro/go/repro/doc.go b/pkg/codegen/testing/test/testdata/go-plain-ref-repro/go/repro/doc.go index 48ad71d390bd..fd42e96cc1a9 100644 --- a/pkg/codegen/testing/test/testdata/go-plain-ref-repro/go/repro/doc.go +++ b/pkg/codegen/testing/test/testdata/go-plain-ref-repro/go/repro/doc.go @@ -1,3 +1,2 @@ // Package repro exports types, functions, subpackages for provisioning repro resources. - package repro diff --git a/pkg/codegen/testing/test/testdata/hyphen-url/go/registrygeoreplication/doc.go b/pkg/codegen/testing/test/testdata/hyphen-url/go/registrygeoreplication/doc.go index 3ccee6306ac0..1022cf501023 100644 --- a/pkg/codegen/testing/test/testdata/hyphen-url/go/registrygeoreplication/doc.go +++ b/pkg/codegen/testing/test/testdata/hyphen-url/go/registrygeoreplication/doc.go @@ -1,3 +1,2 @@ // Package registrygeoreplication exports types, functions, subpackages for provisioning registrygeoreplication resources. - package registrygeoreplication diff --git a/pkg/codegen/testing/test/testdata/hyphenated-symbols/go/repro/doc.go b/pkg/codegen/testing/test/testdata/hyphenated-symbols/go/repro/doc.go index 48ad71d390bd..fd42e96cc1a9 100644 --- a/pkg/codegen/testing/test/testdata/hyphenated-symbols/go/repro/doc.go +++ b/pkg/codegen/testing/test/testdata/hyphenated-symbols/go/repro/doc.go @@ -1,3 +1,2 @@ // Package repro exports types, functions, subpackages for provisioning repro resources. - package repro diff --git a/pkg/codegen/testing/test/testdata/internal-dependencies-go/go/example/doc.go b/pkg/codegen/testing/test/testdata/internal-dependencies-go/go/example/doc.go index 50164dcb24b8..18a08714b269 100644 --- a/pkg/codegen/testing/test/testdata/internal-dependencies-go/go/example/doc.go +++ b/pkg/codegen/testing/test/testdata/internal-dependencies-go/go/example/doc.go @@ -1,3 +1,2 @@ // Package example exports types, functions, subpackages for provisioning example resources. - package example diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/go/example/doc.go b/pkg/codegen/testing/test/testdata/naming-collisions/go/example/doc.go index 50164dcb24b8..18a08714b269 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/go/example/doc.go +++ b/pkg/codegen/testing/test/testdata/naming-collisions/go/example/doc.go @@ -1,3 +1,2 @@ // Package example exports types, functions, subpackages for provisioning example resources. - package example diff --git a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/go/foo/doc.go b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/go/foo/doc.go index f6674ee5a299..e37e1a067110 100644 --- a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/go/foo/doc.go +++ b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/go/foo/doc.go @@ -1,3 +1,2 @@ // Package foo exports types, functions, subpackages for provisioning foo resources. - package foo diff --git a/pkg/codegen/testing/test/testdata/nested-module/go/foo/doc.go b/pkg/codegen/testing/test/testdata/nested-module/go/foo/doc.go index f6674ee5a299..e37e1a067110 100644 --- a/pkg/codegen/testing/test/testdata/nested-module/go/foo/doc.go +++ b/pkg/codegen/testing/test/testdata/nested-module/go/foo/doc.go @@ -1,3 +1,2 @@ // Package foo exports types, functions, subpackages for provisioning foo resources. - package foo diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/go/myedgeorder/doc.go b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/go/myedgeorder/doc.go index 68a4452a1a26..9d6016bcb7e5 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/go/myedgeorder/doc.go +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/go/myedgeorder/doc.go @@ -1,3 +1,2 @@ // Package myedgeorder exports types, functions, subpackages for provisioning myedgeorder resources. - package myedgeorder diff --git a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/go/mypkg/doc.go b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/go/mypkg/doc.go index a76bd9457617..7360d0972046 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/go/mypkg/doc.go +++ b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/go/mypkg/doc.go @@ -1,3 +1,2 @@ // Package mypkg exports types, functions, subpackages for provisioning mypkg resources. - package mypkg diff --git a/pkg/codegen/testing/test/testdata/output-funcs/go/mypkg/doc.go b/pkg/codegen/testing/test/testdata/output-funcs/go/mypkg/doc.go index a76bd9457617..7360d0972046 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/go/mypkg/doc.go +++ b/pkg/codegen/testing/test/testdata/output-funcs/go/mypkg/doc.go @@ -1,3 +1,2 @@ // Package mypkg exports types, functions, subpackages for provisioning mypkg resources. - package mypkg diff --git a/pkg/codegen/testing/test/testdata/plain-and-default/go/foo/doc.go b/pkg/codegen/testing/test/testdata/plain-and-default/go/foo/doc.go index f6674ee5a299..e37e1a067110 100644 --- a/pkg/codegen/testing/test/testdata/plain-and-default/go/foo/doc.go +++ b/pkg/codegen/testing/test/testdata/plain-and-default/go/foo/doc.go @@ -1,3 +1,2 @@ // Package foo exports types, functions, subpackages for provisioning foo resources. - package foo diff --git a/pkg/codegen/testing/test/testdata/plain-object-defaults/go/example/doc.go b/pkg/codegen/testing/test/testdata/plain-object-defaults/go/example/doc.go index 50164dcb24b8..18a08714b269 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-defaults/go/example/doc.go +++ b/pkg/codegen/testing/test/testdata/plain-object-defaults/go/example/doc.go @@ -1,3 +1,2 @@ // Package example exports types, functions, subpackages for provisioning example resources. - package example diff --git a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/go/example/doc.go b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/go/example/doc.go index 50164dcb24b8..18a08714b269 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/go/example/doc.go +++ b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/go/example/doc.go @@ -1,3 +1,2 @@ // Package example exports types, functions, subpackages for provisioning example resources. - package example diff --git a/pkg/codegen/testing/test/testdata/plain-schema-gh6957/go/xyz/doc.go b/pkg/codegen/testing/test/testdata/plain-schema-gh6957/go/xyz/doc.go index 0cbcf1911f58..5e0ed7148c25 100644 --- a/pkg/codegen/testing/test/testdata/plain-schema-gh6957/go/xyz/doc.go +++ b/pkg/codegen/testing/test/testdata/plain-schema-gh6957/go/xyz/doc.go @@ -1,3 +1,2 @@ // Package xyz exports types, functions, subpackages for provisioning xyz resources. - package xyz diff --git a/pkg/codegen/testing/test/testdata/provider-config-schema/go/configstation/doc.go b/pkg/codegen/testing/test/testdata/provider-config-schema/go/configstation/doc.go index e96c3a53cb04..b2062e21133d 100644 --- a/pkg/codegen/testing/test/testdata/provider-config-schema/go/configstation/doc.go +++ b/pkg/codegen/testing/test/testdata/provider-config-schema/go/configstation/doc.go @@ -1,3 +1,2 @@ // Package configstation exports types, functions, subpackages for provisioning configstation resources. - package configstation diff --git a/pkg/codegen/testing/test/testdata/regress-8403/go/mongodbatlas/doc.go b/pkg/codegen/testing/test/testdata/regress-8403/go/mongodbatlas/doc.go index 588164f6f7d6..c6c66759b7a7 100644 --- a/pkg/codegen/testing/test/testdata/regress-8403/go/mongodbatlas/doc.go +++ b/pkg/codegen/testing/test/testdata/regress-8403/go/mongodbatlas/doc.go @@ -1,3 +1,2 @@ // Package mongodbatlas exports types, functions, subpackages for provisioning mongodbatlas resources. - package mongodbatlas diff --git a/pkg/codegen/testing/test/testdata/regress-go-10527/go/world/doc.go b/pkg/codegen/testing/test/testdata/regress-go-10527/go/world/doc.go index b1e201ce097e..883f04d401af 100644 --- a/pkg/codegen/testing/test/testdata/regress-go-10527/go/world/doc.go +++ b/pkg/codegen/testing/test/testdata/regress-go-10527/go/world/doc.go @@ -1,3 +1,2 @@ // Package world exports types, functions, subpackages for provisioning world resources. - package world diff --git a/pkg/codegen/testing/test/testdata/regress-go-8664/go/my8664/doc.go b/pkg/codegen/testing/test/testdata/regress-go-8664/go/my8664/doc.go index 64a215caaa26..a47ae3ee4ca7 100644 --- a/pkg/codegen/testing/test/testdata/regress-go-8664/go/my8664/doc.go +++ b/pkg/codegen/testing/test/testdata/regress-go-8664/go/my8664/doc.go @@ -1,3 +1,2 @@ // Package my8664 exports types, functions, subpackages for provisioning my8664 resources. - package my8664 diff --git a/pkg/codegen/testing/test/testdata/regress-node-8110/go/my8110/doc.go b/pkg/codegen/testing/test/testdata/regress-node-8110/go/my8110/doc.go index 6253ddd2036e..4bb6e90be6a5 100644 --- a/pkg/codegen/testing/test/testdata/regress-node-8110/go/my8110/doc.go +++ b/pkg/codegen/testing/test/testdata/regress-node-8110/go/my8110/doc.go @@ -1,3 +1,2 @@ // Package my8110 exports types, functions, subpackages for provisioning my8110 resources. - package my8110 diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/go/example/doc.go b/pkg/codegen/testing/test/testdata/replace-on-change/go/example/doc.go index 50164dcb24b8..18a08714b269 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/go/example/doc.go +++ b/pkg/codegen/testing/test/testdata/replace-on-change/go/example/doc.go @@ -1,3 +1,2 @@ // Package example exports types, functions, subpackages for provisioning example resources. - package example diff --git a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/go/example/doc.go b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/go/example/doc.go index 50164dcb24b8..18a08714b269 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/go/example/doc.go +++ b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/go/example/doc.go @@ -1,3 +1,2 @@ // Package example exports types, functions, subpackages for provisioning example resources. - package example diff --git a/pkg/codegen/testing/test/testdata/resource-args-python/go/example/doc.go b/pkg/codegen/testing/test/testdata/resource-args-python/go/example/doc.go index 50164dcb24b8..18a08714b269 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python/go/example/doc.go +++ b/pkg/codegen/testing/test/testdata/resource-args-python/go/example/doc.go @@ -1,3 +1,2 @@ // Package example exports types, functions, subpackages for provisioning example resources. - package example diff --git a/pkg/codegen/testing/test/testdata/resource-property-overlap/go/example/doc.go b/pkg/codegen/testing/test/testdata/resource-property-overlap/go/example/doc.go index 50164dcb24b8..18a08714b269 100644 --- a/pkg/codegen/testing/test/testdata/resource-property-overlap/go/example/doc.go +++ b/pkg/codegen/testing/test/testdata/resource-property-overlap/go/example/doc.go @@ -1,3 +1,2 @@ // Package example exports types, functions, subpackages for provisioning example resources. - package example diff --git a/pkg/codegen/testing/test/testdata/secrets/go/mypkg/doc.go b/pkg/codegen/testing/test/testdata/secrets/go/mypkg/doc.go index a76bd9457617..7360d0972046 100644 --- a/pkg/codegen/testing/test/testdata/secrets/go/mypkg/doc.go +++ b/pkg/codegen/testing/test/testdata/secrets/go/mypkg/doc.go @@ -1,3 +1,2 @@ // Package mypkg exports types, functions, subpackages for provisioning mypkg resources. - package mypkg diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/go/plant/doc.go b/pkg/codegen/testing/test/testdata/simple-enum-schema/go/plant/doc.go index 0afb8c9b7d83..e9f1f6a792a3 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/go/plant/doc.go +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/go/plant/doc.go @@ -1,3 +1,2 @@ // Package plant exports types, functions, subpackages for provisioning plant resources. - package plant diff --git a/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/go/example/doc.go b/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/go/example/doc.go index 50164dcb24b8..18a08714b269 100644 --- a/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/go/example/doc.go +++ b/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/go/example/doc.go @@ -1,3 +1,2 @@ // Package example exports types, functions, subpackages for provisioning example resources. - package example diff --git a/pkg/codegen/testing/test/testdata/simple-methods-schema/go/example/doc.go b/pkg/codegen/testing/test/testdata/simple-methods-schema/go/example/doc.go index 50164dcb24b8..18a08714b269 100644 --- a/pkg/codegen/testing/test/testdata/simple-methods-schema/go/example/doc.go +++ b/pkg/codegen/testing/test/testdata/simple-methods-schema/go/example/doc.go @@ -1,3 +1,2 @@ // Package example exports types, functions, subpackages for provisioning example resources. - package example diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/go/doc.go b/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/go/doc.go index f11f22866cdb..daf523e1a4ef 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/go/doc.go +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/go/doc.go @@ -1,3 +1,2 @@ // Package different exports types, functions, subpackages for provisioning different resources. - package different diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema/go/example/doc.go b/pkg/codegen/testing/test/testdata/simple-plain-schema/go/example/doc.go index 50164dcb24b8..18a08714b269 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema/go/example/doc.go +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema/go/example/doc.go @@ -1,3 +1,2 @@ // Package example exports types, functions, subpackages for provisioning example resources. - package example diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/go/example/doc.go b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/go/example/doc.go index 50164dcb24b8..18a08714b269 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/go/example/doc.go +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/go/example/doc.go @@ -1,3 +1,2 @@ // Package example exports types, functions, subpackages for provisioning example resources. - package example diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/go/example/doc.go b/pkg/codegen/testing/test/testdata/simple-resource-schema/go/example/doc.go index 50164dcb24b8..18a08714b269 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/go/example/doc.go +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/go/example/doc.go @@ -1,3 +1,2 @@ // Package example exports types, functions, subpackages for provisioning example resources. - package example diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/go/example/doc.go b/pkg/codegen/testing/test/testdata/simple-yaml-schema/go/example/doc.go index 50164dcb24b8..18a08714b269 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/go/example/doc.go +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/go/example/doc.go @@ -1,3 +1,2 @@ // Package example exports types, functions, subpackages for provisioning example resources. - package example