TestBasicAuthFails() — gin Function Reference
Architecture documentation for the TestBasicAuthFails() function in auth_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD ff0f1878_0dd6_9d8c_0a2f_76f504afafd6["TestBasicAuthFails()"] 8de69f2f_ba6f_8b4b_b264_a61861b36bb6["auth_test.go"] ff0f1878_0dd6_9d8c_0a2f_76f504afafd6 -->|defined in| 8de69f2f_ba6f_8b4b_b264_a61861b36bb6 style ff0f1878_0dd6_9d8c_0a2f_76f504afafd6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
auth_test.go lines 38–46
func TestBasicAuthFails(t *testing.T) {
assert.Panics(t, func() { processAccounts(nil) })
assert.Panics(t, func() {
processAccounts(Accounts{
"": "password",
"foo": "bar",
})
})
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does TestBasicAuthFails() do?
TestBasicAuthFails() is a function in the gin codebase, defined in auth_test.go.
Where is TestBasicAuthFails() defined?
TestBasicAuthFails() is defined in auth_test.go at line 38.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free