hcl

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hcl

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

func New

func New() *Hcl

func (*Hcl) ToHCL

func (h *Hcl) ToHCL(src map[string]interface{}) ([]byte, error)

ToHCL convert input source to HCL content

func (*Hcl) ToJSON

func (h *Hcl) ToJSON(src []byte) (map[string]interface{}, error)

ToJSON convert input source to map. src should have HCL format.

Jump to

Keyboard shortcuts

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