mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #73143 from micahhausler/code-generator-godoc-fix
Fixed import-boss godoc comment formatting
This commit is contained in:
commit
196047fc28
@ -22,9 +22,13 @@ limitations under the License.
|
|||||||
//
|
//
|
||||||
// If an ".import-restrictions" file is found, then all imports of the package
|
// If an ".import-restrictions" file is found, then all imports of the package
|
||||||
// are checked against each "rule" in the file. A rule consists of three parts:
|
// are checked against each "rule" in the file. A rule consists of three parts:
|
||||||
// * A SelectorRegexp, to select the import paths that the rule applies to.
|
//
|
||||||
// * A list of AllowedPrefixes
|
// - A SelectorRegexp, to select the import paths that the rule applies to.
|
||||||
// * A list of ForbiddenPrefixes
|
//
|
||||||
|
// - A list of AllowedPrefixes
|
||||||
|
//
|
||||||
|
// - A list of ForbiddenPrefixes
|
||||||
|
//
|
||||||
// An import is allowed if it matches at least one allowed prefix and does not
|
// An import is allowed if it matches at least one allowed prefix and does not
|
||||||
// match any forbidden prefix. An example file looks like this:
|
// match any forbidden prefix. An example file looks like this:
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user