TestContextGetStringMapString() — gin Function Reference
Architecture documentation for the TestContextGetStringMapString() function in context_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD 56a90464_5c9e_4af2_7ded_fe43a63219b0["TestContextGetStringMapString()"] ebe0ae48_a62b_a38f_5bac_5bbbd96fc508["context_test.go"] 56a90464_5c9e_4af2_7ded_fe43a63219b0 -->|defined in| ebe0ae48_a62b_a38f_5bac_5bbbd96fc508 style 56a90464_5c9e_4af2_7ded_fe43a63219b0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
context_test.go lines 648–656
func TestContextGetStringMapString(t *testing.T) {
c, _ := CreateTestContext(httptest.NewRecorder())
m := make(map[string]string)
m["foo"] = "bar"
c.Set("map", m)
assert.Equal(t, m, c.GetStringMapString("map"))
assert.Equal(t, "bar", c.GetStringMapString("map")["foo"])
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does TestContextGetStringMapString() do?
TestContextGetStringMapString() is a function in the gin codebase, defined in context_test.go.
Where is TestContextGetStringMapString() defined?
TestContextGetStringMapString() is defined in context_test.go at line 648.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free