Home / Type/ mockFileSystem Type — gin Architecture

mockFileSystem Type — gin Architecture

Architecture documentation for the mockFileSystem type/interface in fs_test.go from the gin codebase.

Entity Profile

Dependency Diagram

graph TD
  895a3110_b335_de4b_d83b_4b1b8c94c5d0["mockFileSystem"]
  9e085b07_bed4_2167_e369_c9dd053f0655["fs_test.go"]
  895a3110_b335_de4b_d83b_4b1b8c94c5d0 -->|defined in| 9e085b07_bed4_2167_e369_c9dd053f0655
  style 895a3110_b335_de4b_d83b_4b1b8c94c5d0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

internal/fs/fs_test.go lines 13–15

type mockFileSystem struct {
	open func(name string) (http.File, error)
}

Frequently Asked Questions

What is the mockFileSystem type?
mockFileSystem is a type/interface in the gin codebase, defined in internal/fs/fs_test.go.
Where is mockFileSystem defined?
mockFileSystem is defined in internal/fs/fs_test.go at line 13.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free