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