Implement missing bits in result listing
This commit is contained in:
parent
15c901ed68
commit
703b260903
5 changed files with 86 additions and 10 deletions
10
internal/log/handlers/cli/util.go
Normal file
10
internal/log/handlers/cli/util.go
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
package cli
|
||||
|
||||
import (
|
||||
"strings"
|
||||
"unicode/utf8"
|
||||
)
|
||||
|
||||
func RightPad(str string, length int) string {
|
||||
return str + strings.Repeat(" ", length-utf8.RuneCountInString(str))
|
||||
}
|
||||
Loading…
Reference in a new issue