copilot-swe-agent[bot] d936a45bfd Fix SSE specification compliance - add space after colon in all SSE fields
Co-authored-by: appleboy <21979+appleboy@users.noreply.github.com>
2025-11-15 15:22:08 +00:00

24 lines
323 B
Go

package envs
import (
"os"
)
var UseOptDec = os.Getenv("SONIC_USE_OPTDEC") == "1"
var UseFastMap = os.Getenv("SONIC_USE_FASTMAP") == "1"
func EnableOptDec() {
UseOptDec = true
}
func DisableOptDec() {
UseOptDec = false
}
func EnableFastMap() {
UseFastMap = true
}
func DisableFastMap() {
UseFastMap = false
}