Documentation ¶
Overview ¶
Package hcl is driver use HCL format content as config source
about HCL, please see https://github.com/hashicorp/hcl
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Decoder config.Decoder = hcl.Unmarshal
Decoder the hcl content decoder
View Source
var Driver = config.NewDriver(config.Hcl, Decoder, Encoder).WithAlias("conf")
Driver instance for hcl
View Source
var Encoder config.Encoder = func(ptr any) (out []byte, err error) { err = errors.New("HCL: is not support encode data to HCL") return }
Encoder the hcl content encoder
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.