1
0
Fork 0
This commit is contained in:
Daniele Tricoli 2015-12-08 04:00:31 +01:00
parent 63a47fe423
commit 2c83a54561
1 changed files with 8 additions and 8 deletions

View File

@ -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
}