pulumi/sdk/go/common/util/rpcutil
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
..
rpcerror Remove deprecated Protobufs imports (#15158) 2024-01-17 09:35:20 +00:00
health.go grpc: WithInsecure is deprecated 2023-01-11 12:15:40 -08:00
interceptor.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
pty.go [display] Enable WASM compilation (#16246) 2024-05-24 20:27:56 +00:00
pty_js.go [display] Enable WASM compilation (#16246) 2024-05-24 20:27:56 +00:00
pty_windows.go Move InstallDependencies to the language plugin (#9294) 2022-04-03 15:54:59 +01:00
serve.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
writer.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
writer_test.go Prepare golangci-lint upgrade (#17065) 2024-08-28 07:57:38 +00:00