
Add row-padding string pretty printer

Historically, every time we've needed to write out something tabular, we've hand-rolled an ad hoc padded row writer. Yes, in each case. Such is #startuplife. The third time we did this we wrote this with bugs, and so now we are rewriting it in a general, tested function, and transitioning all places where we call this to use this function.
Showing
- cmd/dep.go 26 additions, 1 deletioncmd/dep.go
- pkg/kubecfg/env.go 11 additions, 32 deletionspkg/kubecfg/env.go
- pkg/kubecfg/param.go 22 additions, 63 deletionspkg/kubecfg/param.go
- prototype/specification.go 18 additions, 34 deletionsprototype/specification.go
- utils/strings.go 57 additions, 0 deletionsutils/strings.go
- utils/strings_test.go 72 additions, 0 deletionsutils/strings_test.go
Please register or sign in to comment