Home / Function/ TestBindingJSONDisallowUnknownFields() — gin Function Reference

TestBindingJSONDisallowUnknownFields() — gin Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  6c04c3c9_7e00_5d2a_1665_5366e9893725["TestBindingJSONDisallowUnknownFields()"]
  314c6481_2bd0_e5a7_282c_94e41df6062a["binding_test.go"]
  6c04c3c9_7e00_5d2a_1665_5366e9893725 -->|defined in| 314c6481_2bd0_e5a7_282c_94e41df6062a
  ff095243_b96f_e338_0894_1a118ff83a0a["testBodyBindingDisallowUnknownFields()"]
  6c04c3c9_7e00_5d2a_1665_5366e9893725 -->|calls| ff095243_b96f_e338_0894_1a118ff83a0a
  style 6c04c3c9_7e00_5d2a_1665_5366e9893725 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

binding/binding_test.go lines 223–227

func TestBindingJSONDisallowUnknownFields(t *testing.T) {
	testBodyBindingDisallowUnknownFields(t, JSON,
		"/", "/",
		`{"foo": "bar"}`, `{"foo": "bar", "what": "this"}`)
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free