update readme

This commit is contained in:
Alex Lushpai 2018-04-22 20:47:17 +03:00
parent 2bbbbb62d3
commit ff265fd94b

View File

@ -34,7 +34,7 @@ func main() {
Page: 1, Page: 1,
},) },)
if err.RuntimeErr != nil { if err.RuntimeErr != nil {
fmt.Printf("%v", err.ErrorMsg) fmt.Printf("%v", err.Error())
} }
if status >= http.StatusBadRequest { if status >= http.StatusBadRequest {
@ -68,7 +68,7 @@ func main() {
}, },
) )
if err.RuntimeErr != nil { if err.RuntimeErr != nil {
fmt.Printf("%v", err.ErrorMsg) fmt.Printf("%v", err.Error())
} }
if status >= http.StatusBadRequest { if status >= http.StatusBadRequest {