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
  3985ac04_44b0_a597_a0be_8af7bb4087c0["TestBindingProtoBufFail()"]
  314c6481_2bd0_e5a7_282c_94e41df6062a["binding_test.go"]
  3985ac04_44b0_a597_a0be_8af7bb4087c0 -->|defined in| 314c6481_2bd0_e5a7_282c_94e41df6062a
  1ed726d8_0cb9_b9b3_f6b0_56d032ab84ab["testProtoBodyBindingFail()"]
  3985ac04_44b0_a597_a0be_8af7bb4087c0 -->|calls| 1ed726d8_0cb9_b9b3_f6b0_56d032ab84ab
  style 3985ac04_44b0_a597_a0be_8af7bb4087c0 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:]))
}

Subdomains

Frequently Asked Questions

What does TestBindingProtoBufFail() do?
TestBindingProtoBufFail() is a function in the gin codebase, defined in binding/binding_test.go.
Where is TestBindingProtoBufFail() defined?
TestBindingProtoBufFail() is defined in binding/binding_test.go at line 726.
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