mirror of
https://github.com/eeeXun/GTT.git
synced 2025-06-01 15:30:51 -07:00
style: rename viper to config
viper already previde the variable. No need to New one.
This commit is contained in:
parent
b27a7dc11b
commit
45b9c13c06
@ -4,12 +4,11 @@ import (
|
|||||||
"gtt/internal/color"
|
"gtt/internal/color"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/spf13/viper"
|
config "github.com/spf13/viper"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
// settings
|
// settings
|
||||||
config = viper.New()
|
|
||||||
style = color.NewStyle()
|
style = color.NewStyle()
|
||||||
hideBelow bool
|
hideBelow bool
|
||||||
// default config
|
// default config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user