mirror of
https://github.com/Jguer/yay
synced 2024-10-04 15:19:08 +00:00
chore(globals): rename config->globals for easier understanding
This commit is contained in:
parent
e4b1cb6e7d
commit
005c5c24b4
19
config.go
19
config.go
|
@ -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
globals.go
Normal file
17
globals.go
Normal file
|
@ -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.
|
Loading…
Reference in a new issue