Home / Function/ TestBindingProtoBufFail() — gin Function Reference

TestBindingProtoBufFail() — gin Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  6b3dc2ac_b948_6f09_6796_a3485d15f50e["TestBindingProtoBufFail()"]
  52171b08_09ce_e66b_ae2b_698aed2b7131["testProtoBodyBindingFail()"]
  6b3dc2ac_b948_6f09_6796_a3485d15f50e -->|calls| 52171b08_09ce_e66b_ae2b_698aed2b7131
  style 6b3dc2ac_b948_6f09_6796_a3485d15f50e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

binding/binding_test.go lines 726–736

func TestBindingProtoBufFail(t *testing.T) {
	test := &protoexample.Test{
		Label: proto.String("yes"),
	}
	data, _ := proto.Marshal(test)

	testProtoBodyBindingFail(t,
		ProtoBuf, "protobuf",
		"/", "/",
		string(data), string(data[1:]))
}

Domain

Subdomains

Frequently Asked Questions

What does TestBindingProtoBufFail() do?
TestBindingProtoBufFail() is a function in the gin codebase.
What does TestBindingProtoBufFail() call?
TestBindingProtoBufFail() calls 1 function(s): testProtoBodyBindingFail.

Analyze Your Own Codebase

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

Try Supermodel Free