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

Dependency Diagram

graph TD
  87f43395_305b_a465_700d_99aff0fa9148["TestIsDebugging()"]
  93aa143e_ba29_95e3_6171_a922a9c84ca0["debug_test.go"]
  87f43395_305b_a465_700d_99aff0fa9148 -->|defined in| 93aa143e_ba29_95e3_6171_a922a9c84ca0
  style 87f43395_305b_a465_700d_99aff0fa9148 fill:#6366f1,stroke:#818cf8,color:#fff

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

Defined In

Frequently Asked Questions

What does TestIsDebugging() do?
TestIsDebugging() is a function in the gin codebase, defined in debug_test.go.
Where is TestIsDebugging() defined?
TestIsDebugging() is defined in debug_test.go at line 23.

Analyze Your Own Codebase

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

Try Supermodel Free