Documentation
¶
Overview ¶
Package goidiomatic provides a Starlark module that defines Go idiomatic functions and values.
Index ¶
Constants ¶
View Source
const ModuleName = "go_idiomatic"
ModuleName defines the expected name for this Module when used in Starlark's load() function, eg: load('go_idiomatic', 'nil')
Variables ¶
View Source
var ( // ErrSystemExit is returned by exit() to indicate the program should exit. ErrSystemExit = errors.New(`starlet runtime system exit (Use Ctrl-D in REPL to exit)`) )
Functions ¶
func LoadModule ¶
func LoadModule() (starlark.StringDict, error)
LoadModule loads the Go idiomatic module.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.