mirror of https://github.com/prometheus/prometheus
Bas Harenslak
7 years ago
3 changed files with 28 additions and 9 deletions
@ -0,0 +1,18 @@
|
||||
package tsdb |
||||
|
||||
import ( |
||||
"io" |
||||
"text/tabwriter" |
||||
) |
||||
|
||||
const ( |
||||
minwidth = 0 |
||||
tabwidth = 0 |
||||
padding = 2 |
||||
padchar = ' ' |
||||
flags = 0 |
||||
) |
||||
|
||||
func GetNewTabWriter(output io.Writer) *tabwriter.Writer { |
||||
return tabwriter.NewWriter(output, minwidth, tabwidth, padding, padchar, flags) |
||||
} |
Loading…
Reference in new issue