starlarkconv

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2024 License: ISC Imports: 7 Imported by: 0

Documentation

Overview

Package starlarkconv implements Starlark value conversion.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToValue

func ToValue(val any) (starlark.Value, error)

ToValue converts a Go value to a Starlark value.

It supports the following Go types:

If the Go value cannot be converted, an error is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL