TestLastChar() — gin Function Reference
Architecture documentation for the TestLastChar() function in utils_test.go from the gin codebase.
Entity Profile
Relationship Graph
Source Code
utils_test.go lines 58–62
func TestLastChar(t *testing.T) {
assert.Equal(t, uint8('a'), lastChar("hola"))
assert.Equal(t, uint8('s'), lastChar("adios"))
assert.Panics(t, func() { lastChar("") })
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free