Home / Function/ TestBindingYAMLStringMap() — gin Function Reference

TestBindingYAMLStringMap() — gin Function Reference

Architecture documentation for the TestBindingYAMLStringMap() function in binding_test.go from the gin codebase.

Entity Profile

Dependency Diagram

graph TD
  12694ac2_d892_8c2f_f5fa_9f0f9d731d55["TestBindingYAMLStringMap()"]
  314c6481_2bd0_e5a7_282c_94e41df6062a["binding_test.go"]
  12694ac2_d892_8c2f_f5fa_9f0f9d731d55 -->|defined in| 314c6481_2bd0_e5a7_282c_94e41df6062a
  4ac109c1_2e51_117f_abf6_be59540f3c03["testBodyBindingStringMap()"]
  12694ac2_d892_8c2f_f5fa_9f0f9d731d55 -->|calls| 4ac109c1_2e51_117f_abf6_be59540f3c03
  style 12694ac2_d892_8c2f_f5fa_9f0f9d731d55 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

binding/binding_test.go lines 489–494

func TestBindingYAMLStringMap(t *testing.T) {
	// YAML is a superset of JSON, so the test below is JSON (to avoid newlines)
	testBodyBindingStringMap(t, YAML,
		"/", "/",
		`{"foo": "bar", "hello": "world"}`, `{"nested": {"foo": "bar"}}`)
}

Subdomains

Frequently Asked Questions

What does TestBindingYAMLStringMap() do?
TestBindingYAMLStringMap() is a function in the gin codebase, defined in binding/binding_test.go.
Where is TestBindingYAMLStringMap() defined?
TestBindingYAMLStringMap() is defined in binding/binding_test.go at line 489.
What does TestBindingYAMLStringMap() call?
TestBindingYAMLStringMap() calls 1 function(s): testBodyBindingStringMap.

Analyze Your Own Codebase

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

Try Supermodel Free