Skip to content

Commit 68ce790

Browse files
committed
fmt: run gofumpt on common.go
1 parent faf8d0c commit 68ce790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/internal/migrations/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var (
1717
pkgImportRegex = regexp.MustCompile(`(?m)^(\s*(?:[\w.]+\s+)?")github\.com/gofiber/fiber/v\d+("$)`)
1818
)
1919

20-
func MigrateGoPkgs(cmd *cobra.Command, cwd string, _ *semver.Version, target *semver.Version) error {
20+
func MigrateGoPkgs(cmd *cobra.Command, cwd string, _, target *semver.Version) error {
2121
err := internal.ChangeFileContent(cwd, func(content string) string {
2222
replacement := fmt.Sprintf("${1}github.com/gofiber/fiber/v%d${2}", target.Major())
2323
return pkgImportRegex.ReplaceAllString(content, replacement)

0 commit comments

Comments
 (0)