Discover Packages
cuelang.org/go
internal
builtin
package
Version:
v0.3.0-alpha3
Opens a new window with list of versions in this module.
Published: Sep 17, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types ImportPaths() Register(importPath, f) type PackageFunc Get(path)
Documentation
¶
func ImportPaths () (a []string )
func Register (importPath string , f PackageFunc)
Register registers a builtin, the value of which will be built
on first use. All builtins must be registered before first use of a runtime.
This restriction may be eliminated in the future.
type PackageFunc func (ctx *adt.OpContext) (*adt.Vertex, error )
func Get (path string ) PackageFunc
Get return the builder for the package with the given path.
It will panic if the path does not exist.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.