Registry / config / yudai-hcl

yudai-hcl

JSON →
library0.0.0-20151013225006-5fa2393b3552gogounverified

HCL is a package for decoding HashiCorp Configuration Language (HCL) into usable Go structures, supporting both HCL and JSON formats.

go get github.com/yudai/hcl
INSTALL
IMPORT
SIG · YUDAI-HCL
Y
yudai-hcl
configgov0.0.0-20151013225006-5fa2393b3552
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

hcl
github.com/yudai/hcl

Decodes a simple HCL string into a Go map.

package main import ( "fmt" "github.com/yudai/hcl" ) func main() { hclString := `key = "value"` var result map[string]interface{} err := hcl.Decode(&result, hclString) if err != nil { panic(err) } fmt.Println(result) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20151013225006-5fa2393b3552latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
24
Resources
yudai-hcl — go get yudai-hcl · libregistry