s/df/bf/
This commit is contained in:
parent
63a47fe423
commit
2c83a54561
|
@ -11,20 +11,20 @@ type baseFormatter struct {
|
||||||
showGlyph bool
|
showGlyph bool
|
||||||
}
|
}
|
||||||
|
|
||||||
func (df *baseFormatter) SetFields(fields []string) {
|
func (bf *baseFormatter) SetFields(fields []string) {
|
||||||
for _, field := range fields {
|
for _, field := range fields {
|
||||||
df.fields = append(df.fields, field)
|
bf.fields = append(bf.fields, field)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (df baseFormatter) Fields() []string {
|
func (bf baseFormatter) Fields() []string {
|
||||||
return df.fields
|
return bf.fields
|
||||||
}
|
}
|
||||||
|
|
||||||
func (df *baseFormatter) SetShowGlyph(value bool) {
|
func (bf *baseFormatter) SetShowGlyph(value bool) {
|
||||||
df.showGlyph = value
|
bf.showGlyph = value
|
||||||
}
|
}
|
||||||
|
|
||||||
func (df baseFormatter) ShowGlyph() bool {
|
func (bf baseFormatter) ShowGlyph() bool {
|
||||||
return df.showGlyph
|
return bf.showGlyph
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue