Skip to content
Myr

gin mode unknown: show available mode (#2567)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Rubi · committed by GitHub · parent 4d2dad5 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: thinkerou <thinkerou@gmail.com>

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:mode.go+1 added-1 removed
61 unmodified lines
62 ginMode = releaseCode63 case TestMode:64 ginMode = testCode65 default:66 panic("gin mode unknown: " + value)66 panic("gin mode unknown: " + value + " (available mode: debug release test)")67 }6869 modeName = value70}
22 unmodified lines