Compiler

compiler/prelude

github.com/gopherjs/gopherjs/compiler/prelude

import "github.com/gopherjs/gopherjs/compiler/prelude"

Functions

func PreludeFiles() (files []PreludeFile)

Source: compiler/prelude/prelude.go:31

PreludeFiles gets the GopherJS JavaScript interop layers.

Types

type PreludeFile

Source: compiler/prelude/prelude.go:25

type PreludeFile struct {
	Name   string
	Source string
}
Fields
  • Name string
  • Source string