Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lyraproj/dgocty
- Owner: lyraproj
- License: apache-2.0
- Created: 2019-10-08T09:00:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-21T21:05:00.000Z (over 4 years ago)
- Last Synced: 2024-11-15T04:13:00.554Z (about 2 months ago)
- Topics: cty, dgo, golang, golang-library, golang-module, golang-package, terraform
- Language: Go
- Size: 29.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```