Compiler
compiler/gopherjspkg
Package gopherjspkg provides core GopherJS packages via a virtual filesystem.
import "github.com/gopherjs/gopherjs/compiler/gopherjspkg"
Package gopherjspkg provides core GopherJS packages via a virtual filesystem.
Core GopherJS packages are packages that are critical for GopherJS compiler operation. They are needed to build the Go standard library with GopherJS. Currently, they include:
github.com/gopherjs/gopherjs/js
github.com/gopherjs/gopherjs/nosyncVariables
FS is a virtual filesystem that contains core GopherJS packages.
Source: compiler/gopherjspkg/fs.go:6
var FS http.FileSystemFunctions
func RegisterFS(fs http.FileSystem)
Source: compiler/gopherjspkg/fs.go:9
RegisterFS allows setting the embedded fs from another package.
