Home / Function/ TestIsDebugging() — gin Function Reference

TestIsDebugging() — gin Function Reference

Architecture documentation for the TestIsDebugging() function in debug_test.go from the gin codebase.

Entity Profile

Relationship Graph

Source Code

debug_test.go lines 23–30

func TestIsDebugging(t *testing.T) {
	SetMode(DebugMode)
	assert.True(t, IsDebugging())
	SetMode(ReleaseMode)
	assert.False(t, IsDebugging())
	SetMode(TestMode)
	assert.False(t, IsDebugging())
}

Domain

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free