pulumi/sdk/go/internal
Julien 7e2ccd8757
Prepare golangci-lint upgrade (#17065)
The latest version of golangci-lint (1.60.3) flags a bunch of new issues
in our code base. This PR addresses part of them ahead of the upgrade.

* A dynamic string passed to printf style functions as first argument,
this can lead to bad `%` interpolations. The fix is typically to use
`"%s"` as first argument and pass the dynamic string as 2nd argument.
* Using `os.ModePerm` in tests instead of more restricted file
permissions. The fix is to use 0o600 for files, or 0o700 for
directories.
* Int conversion overflows. The fix has to be done case by case,
checking that no overflow can occur.
2024-08-28 07:57:38 +00:00
..
gen-pux-applyn Pin date in template for sdk/go/pulumix/applyn.go (#15014) 2024-01-02 10:29:56 +00:00
resource.go sdk/go: Move Output implementation to internal 2023-07-25 18:13:35 -07:00
rpc.go sdk/go: Move Output implementation to internal 2023-07-25 18:13:35 -07:00
rpc_test.go sdk/go: Move Output implementation to internal 2023-07-25 18:13:35 -07:00
state.go sdk/go: Add pulumix subpackage (#13509) 2023-08-28 15:38:23 +00:00
state_test.go sdk/go: Move Output implementation to internal 2023-07-25 18:13:35 -07:00
types.go turn on the golangci-lint exhaustive linter (#15028) 2024-01-17 16:50:41 +00:00
types_test.go Use EqualError/ErrorContains instead of Error (#14737) 2023-12-08 06:40:14 +00:00
workgroup.go sdk/go: Move Output implementation to internal 2023-07-25 18:13:35 -07:00
workgroup_test.go Prepare golangci-lint upgrade (#17065) 2024-08-28 07:57:38 +00:00