~emersion/drmdb

ref: a85c27af65ce9e831bcaf14da813dc24b495d376 drmdb/treefmt/treefmt.go -rw-r--r-- 287 bytes
a85c27afSimon Ser Filter capabilities by driver name 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
// Package treefmt provides tree pretty-printing helpers.
package treefmt

// Formatter pretty-prints tree structures.
type Formatter interface {
	// NewChild creates a new child tree.
	NewChild() Formatter
	// Printf creates a new child leaf.
	Printf(format string, v ...interface{})
}