mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-14 12:12:12 +08:00
remove impossible case
This commit is contained in:
parent
5826722a87
commit
426b92181c
2
mode.go
2
mode.go
@ -65,7 +65,7 @@ func SetMode(value string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch value {
|
switch value {
|
||||||
case DebugMode, "":
|
case DebugMode:
|
||||||
atomic.StoreInt32(&ginMode, debugCode)
|
atomic.StoreInt32(&ginMode, debugCode)
|
||||||
case ReleaseMode:
|
case ReleaseMode:
|
||||||
atomic.StoreInt32(&ginMode, releaseCode)
|
atomic.StoreInt32(&ginMode, releaseCode)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user