1
0
mirror of https://github.com/Jguer/yay synced 2024-07-05 18:01:50 +00:00

chore(globals): rename config->globals for easier understanding

This commit is contained in:
jguer 2021-10-15 21:43:18 +02:00 committed by J Guerreiro
parent e4b1cb6e7d
commit 005c5c24b4
2 changed files with 17 additions and 19 deletions

View File

@ -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
View 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.