Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New creates a new standard library. It registers all available functions and namespaces to the root namespace and returns it.
func RegisterLib ¶
Types ¶
type Group ¶
type Group string
Group identifies a standard library capability group.
const ( Types Group = "types" Strings Group = "strings" Math Group = "math" Collections Group = "collections" DateTime Group = "datetime" Arrays Group = "arrays" Objects Group = "objects" IO Group = "io" FS Group = "fs" NET Group = "net" Path Group = "path" Utils Group = "utils" Testing Group = "testing" )
type Set ¶
type Set struct {
// contains filtered or unexported fields
}
Set is an immutable selection of standard library capability groups.
func Safe ¶
func Safe() Set
Safe returns the full standard library without filesystem or network groups.
Click to show internal directories.
Click to hide internal directories.