Skip to content

Commit 324afcf

Browse files
committed
Rename Gopkg.toml to go.mod in help usage
Since the default project version is v2 and it relies on go modules, it makes sense to adapt the help usage accordingly.
1 parent 956dd25 commit 324afcf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/init_project.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Writes the following files:
4545
- a boilerplate license file
4646
- a PROJECT file with the domain and repo
4747
- a Makefile to build the project
48-
- a Gopkg.toml with project dependencies
48+
- a go.mod with project dependencies
4949
- a Kustomization.yaml for customizating manifests
5050
- a Patch file for customizing image for manager manifests
5151
- a Patch file for enabling prometheus metrics

pkg/scaffold/v2/gomod.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222

2323
var _ input.File = &GoMod{}
2424

25-
// GoMod writes a templatefile for Gopkg.toml
25+
// GoMod writes a templatefile for go.mod
2626
type GoMod struct {
2727
input.Input
2828
}

0 commit comments

Comments
 (0)