opentofu/internal/lang/blocktoattr/doc.go
Martin Atkins cdd9464f9a Move lang/ to internal/lang/
This is part of a general effort to move all of Terraform's non-library
package surface under internal in order to reinforce that these are for
internal use within Terraform only.

If you were previously importing packages under this prefix into an
external codebase, you could pin to an earlier release tag as an interim
solution until you've make a plan to achieve the same functionality some
other way.
2021-05-17 14:09:07 -07:00

6 lines
293 B
Go

// Package blocktoattr includes some helper functions that can perform
// preprocessing on a HCL body where a configschema.Block schema is available
// in order to allow list and set attributes defined in the schema to be
// optionally written by the user as block syntax.
package blocktoattr