From 2c83a5456174a3db247c9dc3a83f35ec265140bf Mon Sep 17 00:00:00 2001 From: Daniele Tricoli Date: Tue, 8 Dec 2015 04:00:31 +0100 Subject: [PATCH] s/df/bf/ --- format/formatter.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/format/formatter.go b/format/formatter.go index 059c577..4efa198 100644 --- a/format/formatter.go +++ b/format/formatter.go @@ -11,20 +11,20 @@ type baseFormatter struct { showGlyph bool } -func (df *baseFormatter) SetFields(fields []string) { +func (bf *baseFormatter) SetFields(fields []string) { for _, field := range fields { - df.fields = append(df.fields, field) + bf.fields = append(bf.fields, field) } } -func (df baseFormatter) Fields() []string { - return df.fields +func (bf baseFormatter) Fields() []string { + return bf.fields } -func (df *baseFormatter) SetShowGlyph(value bool) { - df.showGlyph = value +func (bf *baseFormatter) SetShowGlyph(value bool) { + bf.showGlyph = value } -func (df baseFormatter) ShowGlyph() bool { - return df.showGlyph +func (bf baseFormatter) ShowGlyph() bool { + return bf.showGlyph }