You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- 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()
- }
|