mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 04:38:48 -08:00
19 lines
275 B
Go
19 lines
275 B
Go
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)
|
|
}
|