Documentation ¶ Index ¶ Constants func Enable(runtime *goja.Runtime) func Require(runtime *goja.Runtime, module *goja.Object) type FsModule func (f *FsModule) ReadFileSync(filename string) goja.Value Constants ¶ View Source const ModuleName = "fs" Variables ¶ This section is empty. Functions ¶ func Enable ¶ func Enable(runtime *goja.Runtime) func Require ¶ func Require(runtime *goja.Runtime, module *goja.Object) Types ¶ type FsModule ¶ type FsModule struct { // contains filtered or unexported fields } func (*FsModule) ReadFileSync ¶ func (f *FsModule) ReadFileSync(filename string) goja.Value Source Files ¶ View all Source files module.go Click to show internal directories. Click to hide internal directories.