mirror of https://github.com/pulumi/pulumi.git
8280296699
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` |
||
---|---|---|
.. | ||
env.go | ||
env_test.go |