From 835ba69aa2ec97119fa7c2fdb51603cfd4d56b4c Mon Sep 17 00:00:00 2001 From: Marius Merschformann Date: Fri, 7 Jul 2023 05:28:22 +0200 Subject: [PATCH] Tidy and small fix --- cmd/root.go | 2 +- go.mod | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index 2b8dfce..c88d58d 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -10,7 +10,7 @@ import ( var rootCmd = &cobra.Command{ Use: "gobenchtransform", Short: "Transform Go benchmark results into a format that can be used by other tools.", - Run: func(cmd *cobra.Command, args []string) { + Run: func(cmd *cobra.Command, _ []string) { // Get the input and output files. inputFile, err := cmd.Flags().GetString("input") if err != nil { diff --git a/go.mod b/go.mod index 2724c5e..4a8cb34 100644 --- a/go.mod +++ b/go.mod @@ -2,8 +2,9 @@ module github.com/merschformann/gobenchtransform go 1.19 +require github.com/spf13/cobra v1.7.0 + require ( github.com/inconshreveable/mousetrap v1.1.0 // indirect - github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/pflag v1.0.5 // indirect )