Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lyraproj/dgocty

Bidirectional transformations between dgo.Value and cty.Value
https://github.com/lyraproj/dgocty

cty dgo golang golang-library golang-module golang-package terraform

Last synced: about 1 month ago
JSON representation

Bidirectional transformations between dgo.Value and cty.Value

Awesome Lists containing this project

README

        

# dgocty (Transform Dgo to Cty and back)

[![](https://goreportcard.com/badge/github.com/lyraproj/dgocty)](https://goreportcard.com/report/github.com/lyraproj/dgocty)
[![](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/lyraproj/dgocty)
[![](https://github.com/lyraproj/dgocty/workflows/Dgocty%20Build/badge.svg)](https://github.com/lyraproj/dgocty/actions)

This module provides conversion routines to convert [Dgo](https://github.com/lyraproj/dgo) values into [Cty](https://github.com/zclconf/go-cty) values
and vice versa.

Among other things, the cty values are used by [Terraform](https://github.com/hashicorp/terraform) to represent configurations and states.

### Using dgocty as a library
To use dgo, first install the latest version of the library:
```sh
go get github.com/lyraproj/dgocty
```