structuredinclude

package
v0.15.3 Latest Latest
Warning

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

Go to latest
Published: May 2, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseBytes

func ParseBytes(format Format, path string, content []byte) (any, error)

func ParseBytesAs

func ParseBytesAs[T any](format Format, path string, content []byte) (T, error)

Types

type Format

type Format string
const (
	FormatJSON Format = "json"
	FormatYAML Format = "yaml"
)

func ParseReference

func ParseReference(ref string) (Format, string, bool)

Jump to

Keyboard shortcuts

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