pulumi/sdk/go/pulumi
Ian Wahbe 79ee5ac83e
Add some examples and caveats for the Go SDK (#17865)
I've been working with our Go SDK and both of these would have helped
me.

The exact syntax for `pulumi.All` isn't obvious (and could be improved
IMO).

The caveat in `pulumi.JSONMarshal` is extremely non-obvious, and should
be called out in our documentation until it is fixed.

TODO: After this merges, comment on
https://github.com/pulumi/pulumi/issues/12460 that the caveat needs to
be removed after the issue is fixed.
2024-11-26 10:57:04 +00:00
..
config Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
errors allow better grpc error messages from Go component providers (#17464) 2024-10-10 07:13:31 +00:00
generate Add StringMapMapMap to Go SDK (#17417) 2024-09-29 10:05:30 +00:00
internals Use EqualError/ErrorContains instead of Error (#14737) 2023-12-08 06:40:14 +00:00
provider Prepare golangci-lint upgrade (#17065) 2024-08-28 07:57:38 +00:00
alias.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
alias_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
asset.go [sdk/{go,dotnet] Unmarshal invalid assets. (#7579) 2021-07-21 13:40:36 -07:00
callback.go fix potential concurrent map write in Go transforms (#16444) 2024-06-24 09:35:52 +00:00
context.go Bump gRPC dependencies and migrate `grpc.Dial` (#17701) 2024-11-06 18:36:10 +00:00
context_test.go [11825] Add WithValue to pulumi.Context (#15149) 2024-01-16 12:09:49 +00:00
internals.go sdk/go: Move Output implementation to internal 2023-07-25 18:13:35 -07:00
log.go chore: Update doc comments, coding style, fix lint 2022-10-13 13:50:49 -07:00
mocks.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
printf.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
printf_test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
provider.go allow InputPropertyErrors from Calls (#17567) 2024-11-07 09:56:04 +00:00
provider_linked.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
provider_test.go Await output properties before closing the context (#15611) 2024-03-08 23:17:42 +00:00
resource.go Split public and internal representation of InvokeOptions (#17818) 2024-11-20 15:37:31 +00:00
resource_set.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
resource_test.go Split public and internal representation of InvokeOptions (#17818) 2024-11-20 15:37:31 +00:00
rpc.go unmarshal pointers correctly if destination type is any (#16914) 2024-08-19 14:43:31 +00:00
rpc_test.go unmarshal pointers correctly if destination type is any (#16914) 2024-08-19 14:43:31 +00:00
run.go Use int32 in Go interfaces that map to protobufs using int32 (#17068) 2024-08-28 13:45:17 +00:00
run_test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
stack_reference.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
stack_reference_test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
transform.go add Go support for invoke transforms (#16617) 2024-07-15 08:28:11 +00:00
transformation.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
type_conversions.go [codegen/go] Improve optional params in invoke 2022-02-01 11:44:40 -08:00
types.go Add some examples and caveats for the Go SDK (#17865) 2024-11-26 10:57:04 +00:00
types_builtins.go Add StringMapMapMap to Go SDK (#17417) 2024-09-29 10:05:30 +00:00
types_builtins_test.go Add StringMapMapMap to Go SDK (#17417) 2024-09-29 10:05:30 +00:00
types_contravariance_test.go Use slice.Prealloc instead of make([]T, 0, ...) 2023-06-29 11:27:50 +01:00
types_test.go Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
urnset.go Use slice.Prealloc instead of make([]T, 0, ...) 2023-06-29 11:27:50 +01:00