From 20b7fd9687a7440c53b81b8c0d805751fbe7e333 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Mon, 2 Nov 2020 17:48:29 +0100 Subject: [PATCH] add hcl2template/addrs/doc.go --- hcl2template/addrs/doc.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 hcl2template/addrs/doc.go diff --git a/hcl2template/addrs/doc.go b/hcl2template/addrs/doc.go new file mode 100644 index 000000000..13c300030 --- /dev/null +++ b/hcl2template/addrs/doc.go @@ -0,0 +1,11 @@ +// Package addrs contains types that represent "addresses", which are +// references to specific objects within a Packer configuration. +// +// All addresses have string representations based on HCL traversal syntax +// which should be used in the user-interface, and also in-memory +// representations that can be used internally. +// +// All types within this package should be treated as immutable, even if this +// is not enforced by the Go compiler. It is always an implementation error +// to modify an address object in-place after it is initially constructed. +package addrs