use go 1.20 #68

Merged
techknowlogick merged 3 commits from refs/pull/68/head into main 2023-02-27 21:59:03 +00:00
techknowlogick commented 2023-02-06 16:03:06 +00:00 (Migrated from gitea.com)
No description provided.
lunny (Migrated from gitea.com) approved these changes 2023-02-07 09:36:48 +00:00
6543 (Migrated from gitea.com) approved these changes 2023-02-15 18:12:32 +00:00
6543 commented 2023-02-15 18:16:37 +00:00 (Migrated from gitea.com)
level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649."

level=warning msg="[linters context] unparam is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649."

config/config.go:74:11: undefined: yaml (typecheck)

	if err = yaml.Unmarshal(configContent, &cfg); err != nil {

	         ^

cmd/cmd.go:27:13: undefined: cli (typecheck)

func New() *cli.App {

            ^

cmd/cmd.go:100:27: undefined: cli (typecheck)

func copyGlobalFlags(app *cli.App) {

                          ^

cmd/contributors.go:17:21: undefined: cli (typecheck)

var Contributors = &cli.Command{

                    ^

exit status 1

make: *** [Makefile:30: lint] Error 1

linting issues ocure :/

``` level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." level=warning msg="[linters context] unparam is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." config/config.go:74:11: undefined: yaml (typecheck) if err = yaml.Unmarshal(configContent, &cfg); err != nil { ^ cmd/cmd.go:27:13: undefined: cli (typecheck) func New() *cli.App { ^ cmd/cmd.go:100:27: undefined: cli (typecheck) func copyGlobalFlags(app *cli.App) { ^ cmd/contributors.go:17:21: undefined: cli (typecheck) var Contributors = &cli.Command{ ^ exit status 1 make: *** [Makefile:30: lint] Error 1 ``` linting issues ocure :/
appleboy (Migrated from gitea.com) approved these changes 2023-02-27 13:55:26 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lunny/changelog#68
No description provided.