Home / Function/ TestForceConsoleColor() — gin Function Reference

TestForceConsoleColor() — gin Function Reference

Architecture documentation for the TestForceConsoleColor() function in logger_test.go from the gin codebase.

Entity Profile

Dependency Diagram

graph TD
  15722cc9_1392_64af_981f_6d5774bb0269["TestForceConsoleColor()"]
  9089ba1c_3991_2941_2a87_9934a9e12a6a["logger_test.go"]
  15722cc9_1392_64af_981f_6d5774bb0269 -->|defined in| 9089ba1c_3991_2941_2a87_9934a9e12a6a
  style 15722cc9_1392_64af_981f_6d5774bb0269 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

logger_test.go lines 465–473

func TestForceConsoleColor(t *testing.T) {
	New()
	assert.Equal(t, autoColor, consoleColorMode)
	ForceConsoleColor()
	assert.Equal(t, forceColor, consoleColorMode)

	// reset console color mode.
	consoleColorMode = autoColor
}

Domain

Subdomains

Defined In

Frequently Asked Questions

What does TestForceConsoleColor() do?
TestForceConsoleColor() is a function in the gin codebase, defined in logger_test.go.
Where is TestForceConsoleColor() defined?
TestForceConsoleColor() is defined in logger_test.go at line 465.

Analyze Your Own Codebase

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

Try Supermodel Free