package toml

import "cuelang.org/go/pkg/encoding/toml"

Index

Functions

func Marshal

func Marshal(v cue.Value) (string, error)

Marshal returns the TOML encoding of v.

func Unmarshal

func Unmarshal(data []byte) (ast.Expr, error)

Unmarshal parses the TOML to a CUE expression.

Source Files

manual.go pkg.go

Version
v0.13.0-alpha.1
Published
Mar 12, 2025
Platform
linux/amd64
Imports
7 packages
Last checked
1 minute ago

Tools for package owners.