Home / Function/ TestBindingProtoBuf() — gin Function Reference

TestBindingProtoBuf() — gin Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  b5c03f7e_df77_daca_348c_d7f0d9afa40e["TestBindingProtoBuf()"]
  314c6481_2bd0_e5a7_282c_94e41df6062a["binding_test.go"]
  b5c03f7e_df77_daca_348c_d7f0d9afa40e -->|defined in| 314c6481_2bd0_e5a7_282c_94e41df6062a
  ff93e522_884a_58c9_c57a_148633b37c6b["testProtoBodyBinding()"]
  b5c03f7e_df77_daca_348c_d7f0d9afa40e -->|calls| ff93e522_884a_58c9_c57a_148633b37c6b
  style b5c03f7e_df77_daca_348c_d7f0d9afa40e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

binding/binding_test.go lines 714–724

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

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

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free