Documentation ¶
Overview ¶
Package gjsfs implements an http.FileSystem for gopherjs compiled files
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func New ¶
func New(fs http.FileSystem) http.FileSystem
New returns a http.FileSystem that wraps fs. All .js files opened are rewritten to .go names and - if existent in fs - compiled when read. All other files are passed through verbatim.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.