Registry / serialization / rodaine-hclencoder

rodaine-hclencoder

JSON →
library0.0.1gogounverified

HCL encoder serializes Go structs into HashiCorp Configuration Language (HCL) format.

go get github.com/rodaine/hclencoder
INSTALL
IMPORT
SIG · RODAINE-HCLENCODER
R
rodaine-hclencoder
serializationgov0.0.1
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.

hclencoder
github.com/rodaine/hclencoder

Encode a struct to HCL format.

package main import "github.com/rodaine/hclencoder" func main() { type Config struct { Name string `hcl:"name"` } out, _ := hclencoder.Encode(Config{Name: "test"}) _ = out }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
28
Resources
rodaine-hclencoder — go get rodaine-hclencoder · libregistry