Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
|
- 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()
- }
|