go: cuelang.org/go/internal/core/convert Index | Files

package convert

import "cuelang.org/go/internal/core/convert"

Package convert allows converting to and from Go values and Types.


Package Files


func GoTypeToExpr Uses

func GoTypeToExpr(ctx *adt.OpContext, x interface{}) (adt.Expr, errors.Error)

func GoValueToExpr Uses

func GoValueToExpr(ctx *adt.OpContext, nilIsTop bool, x interface{}) adt.Expr

func GoValueToValue Uses

func GoValueToValue(ctx *adt.OpContext, x interface{}, nilIsTop bool) adt.Value

Package convert imports 19 packages (graph) and is imported by 5 packages. Updated 2021-01-26. Refresh now. Tools for package owners.