{"id":50780,"library":"hashicorp-go-cty","title":"go-cty","description":"A type system for dynamic values used in HashiCorp tools like Terraform.","status":"active","version":"1.5.0","language":"go","source_language":null,"source_url":"https://github.com/hashicorp/go-cty","tags":["types","dynamic","hashicorp","terraform"],"install":[{"cmd":"go get github.com/hashicorp/go-cty","lang":"bash","label":"Install github.com/hashicorp/go-cty"}],"dependencies":[],"imports":[{"symbol":"cty","correct":"github.com/hashicorp/go-cty/cty"}],"quickstart":{"code":"package main\n\nimport (\n    \"fmt\"\n    \"github.com/hashicorp/go-cty/cty\"\n)\n\nfunc main() {\n    val := cty.StringVal(\"hello\")\n    fmt.Println(val.GoString())\n}","lang":"go","description":"Create a cty string value and print its representation."},"warnings":[{"fix":"Import github.com/hashicorp/go-cty/cty instead of github.com/hashicorp/go-cty.","message":"The root package is not importable; use the cty subpackage.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'cti':3 'dynam':8,17 'go':2 'go-cti':1 'hashicorp':12,18 'like':14 'system':6 'terraform':15,19 'tool':13 'type':5,16 'use':10 'valu':9","created_at":"2026-06-15T05:09:09.533358+00:00","updated_at":"2026-06-15T05:09:09.533358+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/hashicorp/go-cty","github":"https://github.com/hashicorp/go-cty","docs":"https://pkg.go.dev/github.com/hashicorp/go-cty#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}