From 8c8be895014ee930b5396b850bb8c0fb9954cb1f Mon Sep 17 00:00:00 2001 From: Linus Gasser Date: Fri, 4 Sep 2015 12:02:14 +0200 Subject: [PATCH] Update README.md Typo it seems - except if I still didn't understand go... --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9f712a7..6fa6e20 100644 --- a/README.md +++ b/README.md @@ -317,7 +317,7 @@ type MyJSONFormatter struct { log.SetFormatter(new(MyJSONFormatter)) -func (f *JSONFormatter) Format(entry *Entry) ([]byte, error) { +func (f *MyJSONFormatter) Format(entry *Entry) ([]byte, error) { // Note this doesn't include Time, Level and Message which are available on // the Entry. Consult `godoc` on information about those fields or read the // source of the official loggers.