starlark

package
v0.0.0-...-0effba1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package starlark provides helper functionality for processing Starlark files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format

func Format(filename string, data []byte) ([]byte, error)

Format pretty-prints the Starlark content in data. The filename is only used to improve any error messages.

func Unmarshal

func Unmarshal(filename string, data []byte, v any) error

Unmarshal parses a Starlark file into structured Go data. The filename is only used to improve any error messages.

Types

This section is empty.

Jump to

Keyboard shortcuts

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