github.com/terraform-linters/tflint-plugin-sdk@v0.22.0/plugin/internal/toproto/doc.go (about)

     1  // Package toproto contains an implementation to encode a Go structure
     2  // into a structure generated from *.proto. This package is not intended
     3  // to be used directly from plugins.
     4  //
     5  // Many primitives can be handled as-is, but some interfaces and errors
     6  // require special encoding. The `hcl.Expression` encodes into the range
     7  // and the text representation as bytes. Error is encoded into gRPC error
     8  // details to represent wrapped errors.
     9  package toproto