Home / Function/ TestDebugPrintWARNINGDefaultWithUnsupportedVersion() — gin Function Reference

TestDebugPrintWARNINGDefaultWithUnsupportedVersion() — gin Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  b70aa520_5151_495f_9731_0dce2b6c1af7["TestDebugPrintWARNINGDefaultWithUnsupportedVersion()"]
  93aa143e_ba29_95e3_6171_a922a9c84ca0["debug_test.go"]
  b70aa520_5151_495f_9731_0dce2b6c1af7 -->|defined in| 93aa143e_ba29_95e3_6171_a922a9c84ca0
  00345091_92ac_a265_c869_edad36a41a3b["captureOutput()"]
  b70aa520_5151_495f_9731_0dce2b6c1af7 -->|calls| 00345091_92ac_a265_c869_edad36a41a3b
  style b70aa520_5151_495f_9731_0dce2b6c1af7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

debug_test.go lines 117–125

func TestDebugPrintWARNINGDefaultWithUnsupportedVersion(t *testing.T) {
	runtimeVersion = "go1.23.12"
	re := captureOutput(t, func() {
		SetMode(DebugMode)
		debugPrintWARNINGDefault()
		SetMode(TestMode)
	})
	assert.Equal(t, "[GIN-debug] [WARNING] Now Gin requires Go 1.24+.\n\n[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.\n\n", re)
}

Domain

Subdomains

Defined In

Frequently Asked Questions

What does TestDebugPrintWARNINGDefaultWithUnsupportedVersion() do?
TestDebugPrintWARNINGDefaultWithUnsupportedVersion() is a function in the gin codebase, defined in debug_test.go.
Where is TestDebugPrintWARNINGDefaultWithUnsupportedVersion() defined?
TestDebugPrintWARNINGDefaultWithUnsupportedVersion() is defined in debug_test.go at line 117.
What does TestDebugPrintWARNINGDefaultWithUnsupportedVersion() call?
TestDebugPrintWARNINGDefaultWithUnsupportedVersion() calls 1 function(s): captureOutput.

Analyze Your Own Codebase

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

Try Supermodel Free