pulumi/sdk/go/pulumi
James Nugent 666c5d5cdc Remove use of github.com/pkg/errors from Go SDK
In preparation for publishing a separate module of the Go SDK for Pulumi
on which providers can depend, we should reduce the dependency footprint
so as to cause end users as few issues as possible with transitive
dependency versioning.

This commit removes all use of `github.com/pkg/errors` from the Go SDK
to that end, replacing it with the standard `errors` package and `fmt`
for error formatting where appropriate. We use the new (as of Go 1.13)
"%w" syntax for wrapping errors, so this code is no longer compatible
with Go 1.12.
2020-02-26 16:27:07 +00:00
..
config Remove use of github.com/pkg/errors from Go SDK 2020-02-26 16:27:07 +00:00
templates Remove use of github.com/pkg/errors from Go SDK 2020-02-26 16:27:07 +00:00
alias.go Remove use of github.com/pkg/errors from Go SDK 2020-02-26 16:27:07 +00:00
asset.go Redesign the Go SDK resource/input/output system. (#3506) 2020-01-18 10:08:37 -05:00
context.go Remove use of github.com/pkg/errors from Go SDK 2020-02-26 16:27:07 +00:00
generate.go Add support for secrets in Go SDK (#3938) 2020-02-25 17:45:36 -08:00
mocks.go Redesign the Go SDK resource/input/output system. (#3506) 2020-01-18 10:08:37 -05:00
printf.go Redesign the Go SDK resource/input/output system. (#3506) 2020-01-18 10:08:37 -05:00
printf_test.go Add support for secrets in Go SDK (#3938) 2020-02-25 17:45:36 -08:00
resource.go Add support for secrets in Go SDK (#3938) 2020-02-25 17:45:36 -08:00
rpc.go Remove use of github.com/pkg/errors from Go SDK 2020-02-26 16:27:07 +00:00
rpc_test.go Add support for secrets in Go SDK (#3938) 2020-02-25 17:45:36 -08:00
run.go Remove use of github.com/pkg/errors from Go SDK 2020-02-26 16:27:07 +00:00
run_test.go Add support for secrets in Go SDK (#3938) 2020-02-25 17:45:36 -08:00
stack_reference.go Support stack references in Go SDK (#3829) 2020-02-06 10:00:46 -08:00
stack_reference_test.go Add support for secrets in Go SDK (#3938) 2020-02-25 17:45:36 -08:00
types.go Remove use of github.com/pkg/errors from Go SDK 2020-02-26 16:27:07 +00:00
types_builtins.go Make primitive input types implement pointer types (#3806) 2020-01-25 12:19:00 -08:00
types_builtins_test.go Remove use of github.com/pkg/errors from Go SDK 2020-02-26 16:27:07 +00:00
types_test.go Remove use of github.com/pkg/errors from Go SDK 2020-02-26 16:27:07 +00:00