For programs that don't need fine control over the process of decoding a configuration, this allow a one-shot decode into a value of a Go struct type.
The main HCL package is more visible this way, and so it's easier than having to pick it out from dozens of other package directories.