hcl

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2025 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FormatHCL represents HCL format
	FormatHCL decoder.Format = "hcl"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HCLDecoder

type HCLDecoder struct{}

HCLDecoder implements ConfDecoder for HCL format

func NewHCLDecoder

func NewHCLDecoder() *HCLDecoder

NewHCLDecoder creates a new HCL decoder

func (*HCLDecoder) Unmarshal

func (d *HCLDecoder) Unmarshal(data []byte, v any) error

Unmarshal decodes HCL data to target structure

Jump to

Keyboard shortcuts

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