Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
|
- package ratio_setting
-
- import "sync/atomic"
-
- var exposeRatioEnabled atomic.Bool
-
- func init() {
- exposeRatioEnabled.Store(false)
- }
-
- func SetExposeRatioEnabled(enabled bool) {
- exposeRatioEnabled.Store(enabled)
- }
-
- func IsExposeRatioEnabled() bool {
- return exposeRatioEnabled.Load()
- }
|