From ff265fd94bf17d992184d371dcb6e5b5aa984353 Mon Sep 17 00:00:00 2001 From: Alex Lushpai Date: Sun, 22 Apr 2018 20:47:17 +0300 Subject: [PATCH] update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 62afc0d..b16934a 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ func main() { Page: 1, },) if err.RuntimeErr != nil { - fmt.Printf("%v", err.ErrorMsg) + fmt.Printf("%v", err.Error()) } if status >= http.StatusBadRequest { @@ -68,7 +68,7 @@ func main() { }, ) if err.RuntimeErr != nil { - fmt.Printf("%v", err.ErrorMsg) + fmt.Printf("%v", err.Error()) } if status >= http.StatusBadRequest {