chore: refactor coding style (#4887)

This commit is contained in:
Kevin Wan
2025-05-22 23:29:40 +08:00
committed by GitHub
parent e7bd0d8b60
commit d80761c147

View File

@@ -13,9 +13,7 @@ import (
"github.com/zeromicro/go-zero/core/stringx"
)
const (
numHistoryReasons = 5
)
const numHistoryReasons = 5
// ErrServiceUnavailable is returned when the Breaker state is open.
var ErrServiceUnavailable = errors.New("circuit breaker is open")