Merge pull request #467 from bengadbois/small_code_cleanup
Small var declaration cleanup
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@ type TextFormatter struct {
|
||||
|
||||
func (f *TextFormatter) Format(entry *Entry) ([]byte, error) {
|
||||
var b *bytes.Buffer
|
||||
var keys []string = make([]string, 0, len(entry.Data))
|
||||
keys := make([]string, 0, len(entry.Data))
|
||||
for k := range entry.Data {
|
||||
keys = append(keys, k)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user