package builtin
import "cuelang.org/go/internal/builtin"
Index ¶
Functions ¶
func ImportPaths ¶
func ImportPaths() (a []string)
func Register ¶
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.
Types ¶
type PackageFunc ¶
func Get ¶
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 ¶
registry.go
- Version
- v0.3.0-alpha4
- Published
- Oct 3, 2020
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 8 minutes ago –
Tools for package owners.