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.12.0 (latest)
Published
Jan 30, 2025
Platform
linux/amd64
Imports
7 packages
Last checked
8 hours ago

Tools for package owners.