File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ type Prefix struct {
1010 Multiplier uint64
1111}
1212
13- type Humaner interface {
13+ // A quantity that can be made human-readable using Human().
14+ type Humanable interface {
1415 Human ([]Prefix , string ) (string , string )
1516 ToUint64 () uint64
1617}
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ func (s *section) Emit(t *table) {
102102type item struct {
103103 name string
104104 path * Path
105- value counts.Humaner
105+ value counts.Humanable
106106 prefixes []counts.Prefix
107107 unit string
108108 scale float64
@@ -111,7 +111,7 @@ type item struct {
111111func newItem (
112112 name string ,
113113 path * Path ,
114- value counts.Humaner ,
114+ value counts.Humanable ,
115115 prefixes []counts.Prefix ,
116116 unit string ,
117117 scale float64 ,
You can’t perform that action at this time.
0 commit comments