diff --git a/.golangci.yaml b/.golangci.yaml index e2cdb6d..90c8ccb 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -84,7 +84,7 @@ linters: - execinquery - exhaustive - exportloopref - # - forbidigo + - forbidigo - forcetypeassert # - funlen - gci diff --git a/cmd/version.go b/cmd/version.go index accd956..df5bdb0 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -16,7 +16,9 @@ var versionCmd = &cobra.Command{ Short: "Print the version number of the crawler.", Long: `All software has versions. This too.`, Run: func(cmd *cobra.Command, args []string) { + //nolint:forbidigo fmt.Println("Version:\t", internal.VERSION) + //nolint:forbidigo fmt.Println("Build time:\t", internal.BuildTime) }, }