mirror of https://github.com/pulumi/pulumi.git
954ef04f64
10991: sdk/go: Implement array contravariance in As*ArrayOutput types r=AaronFriel a=AaronFriel Expands on the As*ArrayOutput methods added in #10085 to permit contravariance. These methods are modified to inspect the type of the argument, if it is an `[]interface{}` and therefore would panic on casting to `[]T`, we try casting the elements of the array item-by-item. The `generate.go` file is moved to a subdirectory and `//go:build ignore` directives removed as they seemed to interfere with my editor's code completion. Resolves #10977. Co-authored-by: Aaron Friel <mayreply@aaronfriel.com> |
||
---|---|---|
.. | ||
dotnet | ||
go | ||
nodejs | ||
proto/go | ||
python | ||
README.md | ||
go.mod | ||
go.sum |
README.md
Pulumi Language SDKs
This directory contains the Pulumi SDKs for all supported languages.
Please see the respective README
s for information about installing and using these libraries:
The language providers work by implementing gRPC interfaces defined in the top level directory proto.