Home / Function/ Test_CORS_Defaults() — fiber Function Reference

Test_CORS_Defaults() — fiber Function Reference

Architecture documentation for the Test_CORS_Defaults() function in cors_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  45f18ca5_a57e_d27d_8c00_6335502c0043["Test_CORS_Defaults()"]
  e59a43fd_cfa4_0f6b_1938_4a08e36ad74e["cors_test.go"]
  45f18ca5_a57e_d27d_8c00_6335502c0043 -->|defined in| e59a43fd_cfa4_0f6b_1938_4a08e36ad74e
  5d84b982_38fc_0361_6bc1_f6e2392e6bb3["testDefaultOrEmptyConfig()"]
  45f18ca5_a57e_d27d_8c00_6335502c0043 -->|calls| 5d84b982_38fc_0361_6bc1_f6e2392e6bb3
  style 45f18ca5_a57e_d27d_8c00_6335502c0043 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

middleware/cors/cors_test.go lines 17–23

func Test_CORS_Defaults(t *testing.T) {
	t.Parallel()
	app := fiber.New()
	app.Use(New())

	testDefaultOrEmptyConfig(t, app)
}

Domain

Subdomains

Frequently Asked Questions

What does Test_CORS_Defaults() do?
Test_CORS_Defaults() is a function in the fiber codebase, defined in middleware/cors/cors_test.go.
Where is Test_CORS_Defaults() defined?
Test_CORS_Defaults() is defined in middleware/cors/cors_test.go at line 17.
What does Test_CORS_Defaults() call?
Test_CORS_Defaults() calls 1 function(s): testDefaultOrEmptyConfig.

Analyze Your Own Codebase

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

Try Supermodel Free