pulumi/sdk/go/common/util/env
Abhinav Gupta 8280296699
gosimple: printf, time.Since, TrimPrefix, etc.
Fix a bunch of other gosimple issues:

- `Printf` used for static string
- `Skip(Printf(..))` => `Skipf(..)`
- `time.Now().Sub(t)` => `time.Since(t)`
- `HasPrefix; TrimPrefix` => `TrimPrefix`
- Unnecessary type casts
- `IndexRune(..) != 1` => `ContainsRune`
- `if cond { return true } else { return false }` => `return cond`
2023-01-12 09:55:34 -08:00
..
env.go gosimple: printf, time.Since, TrimPrefix, etc. 2023-01-12 09:55:34 -08:00
env_test.go Example of usage and test injection 2022-12-14 15:41:42 +01:00