package convert
import "cuelang.org/go/internal/core/convert"
Package convert allows converting to and from Go values and Types.
Index ¶
- func GoTypeToExpr(ctx *adt.OpContext, x interface{}) (adt.Expr, errors.Error)
- func GoValueToExpr(ctx *adt.OpContext, nilIsTop bool, x interface{}) adt.Expr
- func GoValueToValue(ctx *adt.OpContext, x interface{}, nilIsTop bool) adt.Value
Functions ¶
func GoTypeToExpr ¶
func GoValueToExpr ¶
func GoValueToValue ¶
Source Files ¶
go.go
- Version
- v0.8.0-rc.1
- Published
- Mar 13, 2024
- Platform
- js/wasm
- Imports
- 20 packages
- Last checked
- 54 minutes ago –
Tools for package owners.