From 4653e3206afda2cc48191d197956b4a1909e5e20 Mon Sep 17 00:00:00 2001 From: Lei Wang Date: Tue, 4 Jan 2022 14:39:01 +0800 Subject: [PATCH] update document for #2 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c6b5da3..8081f43 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ import ( ) func example() { - a := GetAwesomeError(logger.InitLogger("my-logger", os.Stdout)) + a := GetAwesomeError(logger.InitLogger("my-logger", os.Stdout), true) a.CheckErr(errors.New("apple")) } ```