aconfighcl

package module
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder struct {
	// contains filtered or unexported fields
}

Decoder of HCL files for aconfig.

func New

func New() *Decoder

New HCL decoder for aconfig.

func (*Decoder) DecodeFile

func (d *Decoder) DecodeFile(filename string) (map[string]interface{}, error)

DecodeFile implements aconfig.FileDecoder.

func (*Decoder) Format added in v0.14.0

func (d *Decoder) Format() string

Format of the decoder.

func (*Decoder) Init added in v0.17.1

func (d *Decoder) Init(fsys fs.FS)

DecodeFile implements aconfig.FileDecoder.

Jump to

Keyboard shortcuts

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