Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/unrolled/render
/ FS
Function
FS
fs_embed.go:64–66 ·
view source on GitHub ↗
FS converts io/fs.FS to FileSystem.
(oriFS fs.FS)
Source
from the content-addressed store, hash-verified
62
63
// FS converts io/fs.FS to FileSystem.
64
func
FS(oriFS fs.FS) FileSystem {
//nolint:ireturn
65
return
tmplFS{oriFS}
66
}
Callers
4
TestIOFSEmbedTemplateLookup
Function · 0.85
TestIOFSDirTemplateLookup
Function · 0.85
TestIOFSEmbedHTMLBasic
Function · 0.85
TestIOFSDirHTMLBasic
Function · 0.85
Calls
no outgoing calls
Tested by
4
TestIOFSEmbedTemplateLookup
Function · 0.68
TestIOFSDirTemplateLookup
Function · 0.68
TestIOFSEmbedHTMLBasic
Function · 0.68
TestIOFSDirHTMLBasic
Function · 0.68