Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsistentModTimeFile ¶
type ConsistentModTimeFileInfo ¶
func (ConsistentModTimeFileInfo) ModTime ¶
func (f ConsistentModTimeFileInfo) ModTime() time.Time
type ConsistentModTimeFileSystem ¶
type ConsistentModTimeFileSystem struct {
HttpFS http.FileSystem
}
consistentModTimeFileSystem is a wrapper for http.FileSystem. The value returned by the ModTime() function is the 'empty' time value. In doing so, it ensures that the output of vfsgen.Generate(...) is consistent with regards to the time at which Generate(...) is run.
Click to show internal directories.
Click to hide internal directories.