Spaces returns a string of n*width spaces.
(n, width int)
| 35 | |
| 36 | // Spaces returns a string of n*width spaces. |
| 37 | func Spaces(n, width int) string { |
| 38 | return strings.Repeat(" ", n*width) |
| 39 | } |
| 40 | |
| 41 | // SpaceBytes returns a []byte of n*width spaces. |
| 42 | func SpaceBytes(n, width int) []byte { |
no outgoing calls