Skip to content

Commit

Permalink
fix api docs generation with go1.20 (knative#6810)
Browse files Browse the repository at this point in the history
Context ahmetb/gen-crd-api-reference-docs#61

This fixes the `knative/pkg` downstream tests (which is using go1.20)
  • Loading branch information
dprotaso authored and vishal-chdhry committed Apr 25, 2023
1 parent e258fa6 commit b93b668
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pkg/apis/doc.go
@@ -0,0 +1,20 @@
/*
Copyright 2021 The Knative Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

// This file is need to work around a gengo/go1.20 issue
// details https://github.com/ahmetb/gen-crd-api-reference-docs/issues/61

package apis

0 comments on commit b93b668

Please sign in to comment.