Skip to content

Commit

Permalink
style: rename viper to config
Browse files Browse the repository at this point in the history
viper already previde the variable. No need to New one.
  • Loading branch information
eeeXun committed Jan 27, 2023
1 parent b27a7dc commit 45b9c13
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ import (
"gtt/internal/color"
"os"

"github.com/spf13/viper"
config "github.com/spf13/viper"
)

var (
// settings
config = viper.New()
style = color.NewStyle()
hideBelow bool
// default config
Expand Down

0 comments on commit 45b9c13

Please sign in to comment.