From 1d47e5ed0ea7bdd428321743788aaa947e2143fc Mon Sep 17 00:00:00 2001 From: Diego Bernardes de Sousa Pinto Date: Tue, 18 Aug 2015 15:15:02 -0300 Subject: [PATCH] Update README.md Just a small fix. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bd9ffb6..17837c9 100644 --- a/README.md +++ b/README.md @@ -273,7 +273,7 @@ init() { // do something here to set environment depending on an environment variable // or command-line flag if Environment == "production" { - log.SetFormatter(&logrus.JSONFormatter{}) + log.SetFormatter(&log.JSONFormatter{}) } else { // The TextFormatter is default, you don't actually have to do this. log.SetFormatter(&log.TextFormatter{})