TestDir() — gin Function Reference
Architecture documentation for the TestDir() function in fs_test.go from the gin codebase.
Entity Profile
Relationship Graph
Source Code
fs_test.go lines 67–72
func TestDir(t *testing.T) {
testRoot := "foo"
fs := Dir(testRoot, false)
assert.Equal(t, &OnlyFilesFS{FileSystem: http.Dir(testRoot)}, fs)
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free