Versions in this module Expand all Collapse all v1 v1.4.0 Jan 9, 2019 Changes in this version + func FileOptions(f *ast.File) ([]interface{}, error) + func Options(pkgs []*packages.Package) ([]interface{}, error) + type Cell struct + func (c Cell) BucketFormat() string + func (c Cell) Description() string + func (c Cell) Field(f Field) string + func (c Cell) Labels() string + func (c Cell) Name() string + func (c Cell) Type() string + type Cells []Cell + func NewCells(options []interface{}) (Cells, error) + func (c Cells) Len() int + func (c Cells) Less(i, j int) bool + func (c Cells) MaxLen(f Field) int + func (c Cells) Swap(i, j int) + type Column struct + Field Field + Name string + Width int + type Field uint8 + const Bucket + const Description + const Labels + const Name + const Type + type Table struct + Cells Cells + Columns []Column + func NewPrometheusTable(cells Cells) Table + func NewStatsdTable(cells Cells) Table + func (t Table) Generate(w io.Writer) v1.4.0-rc2 Dec 20, 2018