IsDev returns true if the current mode is dev mode.
()
| 26 | |
| 27 | // IsDev returns true if the current mode is dev mode. |
| 28 | func IsDev() bool { |
| 29 | return Get() == Dev || Get() == TestDev |
| 30 | } |
| 31 | |
| 32 | func updateGinMode() { |
| 33 | switch Get() { |
searching dependent graphs…