chore: Update to Go v1.21

- go mod tidy (all modules)
- go work sync
- Fixed plugin generation for Go 1.21
- Updated linting for Go 1.21
- Fixed minecraft example for Helm v3 pull download path
- Update dev docs to mention Go 1.21
- Regenerate plugins with Go 1.21
This commit is contained in:
Karl Isenberg
2024-03-05 13:58:02 -08:00
parent e9fc57abd6
commit 4dbc0d22e1
119 changed files with 347 additions and 87 deletions

View File

@@ -1,8 +1,9 @@
// Code generated by internal/gen/main.go; DO NOT EDIT.
package main
const (
usageMsg = `
usageMsg = `
Helps when you have a git repository with multiple Go modules.
It handles tasks one might otherwise attempt with
@@ -19,7 +20,7 @@ dependencies, then performs some operation.
Install:
'''
go get github.com/monopole/gorepomod
go get sigs.k8s.io/kustomize/cmd/gorepomod
'''
## Usage
@@ -29,6 +30,8 @@ do nothing but log commands
unless you add the '--doIt' flag,
allowing the change._
_If you want to run 'gorepomod' on your fork or outside of '$GOSRC' directory, add '--local' flag to your command._
#### 'gorepomod list'
Lists modules and intra-repo dependencies.
@@ -40,14 +43,19 @@ Use this to get module names for use in other commands.
Creates a change with mechanical updates
to 'go.mod' and 'go.sum' files.
#### 'gorepomod unpin {module}'
#### 'gorepomod unpin {module} [{conditionalmodule}]'
Creates a change to 'go.mod' files.
For each module _m_ in the repository,
if _m_ depends on a _{module}_,
then _m_'s dependency on it will be replaced by
a relative path to the in-repo module.
if _m_ depends on a _{module}_, then
_m_'s dependency on _{module} will be
replaced by a relative path to the in-repo
version of _{module}_.
If _conditionalModule_ is specified, then
the replacement of _{module}_ will happen
if _m_ depends on _{conditionalModule}_.
#### 'gorepomod pin {module} [{version}]'