TestChooseData() — gin Function Reference
Architecture documentation for the TestChooseData() function in utils_test.go from the gin codebase.
Entity Profile
Relationship Graph
Source Code
utils_test.go lines 73–79
func TestChooseData(t *testing.T) {
A := "a"
B := "b"
assert.Equal(t, A, chooseData(A, B))
assert.Equal(t, B, chooseData(nil, B))
assert.Panics(t, func() { chooseData(nil, nil) })
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free