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
  e3069ac6_d11a_4696_6cd0_400e19a67048["TestBindingProtoBuf()"]
  0bc9d1e1_04ae_f166_db1b_dceb3434413f["testProtoBodyBinding()"]
  e3069ac6_d11a_4696_6cd0_400e19a67048 -->|calls| 0bc9d1e1_04ae_f166_db1b_dceb3434413f
  style e3069ac6_d11a_4696_6cd0_400e19a67048 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:]))
}

Domain

Subdomains

Frequently Asked Questions

What does TestBindingProtoBuf() do?
TestBindingProtoBuf() is a function in the gin codebase.
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