~emersion/drmdb

ref: 9e10006451cd753ab55cc2fd062b1387d3e281bf drmdb/treefmt/treefmt.go -rw-r--r-- 287 bytes
9e100064Simon Ser Merge all property specs 1 year, 5 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{})
}