chore(globals): rename config->globals for easier understanding
This commit is contained in:
1 parent
e4b1cb6e7d
commit
005c5c24b4
2 files changed
+17
-19
No files matched your search
@@ -1,19 +0,0 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/Jguer/yay/v11/pkg/settings"
|
||||
)
|
||||
|
||||
// Verbosity settings for search.
|
||||
const (
|
||||
numberMenu = iota
|
||||
detailed
|
||||
minimal
|
||||
)
|
||||
|
||||
var yayVersion = "11.0.1"
|
||||
|
||||
var localePath = "/usr/share/locale"
|
||||
|
||||
// YayConf holds the current config values for yay.
|
||||
var config *settings.Configuration
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
package main
|
||||
|
||||
import "github.com/Jguer/yay/v11/pkg/settings"
|
||||
|
||||
// Verbosity settings for search.
|
||||
const (
|
||||
numberMenu = iota
|
||||
detailed
|
||||
minimal
|
||||
)
|
||||
|
||||
var (
|
||||
yayVersion = "11.0.1" // To be set by compiler.
|
||||
localePath = "/usr/share/locale" // To be set by compiler.
|
||||
)
|
||||
|
||||
var config *settings.Configuration // YayConf holds the current config values for yay.
|
||||
Reference in new issue
Block a user