IsDevMode returns true when compiled with the `cb_sg_devmode` build tag
()
| 18 | |
| 19 | // IsDevMode returns true when compiled with the `cb_sg_devmode` build tag |
| 20 | func IsDevMode() bool { |
| 21 | return cbSGDevModeBuildTagSet |
| 22 | } |
| 23 | |
| 24 | // AssertfCtx logs an error message and continues execution, or when compiled with the `cb_sg_devmode` build tag panics for better dev-time visibility. |
| 25 | // The SG test harness will ensure AssertionFailCount is zero at the end of tests, even without devmode enabled. |
no outgoing calls