Merge pull request #10 from gwinn/master

update readme
This commit is contained in:
Alex Lushpai 2018-04-22 20:48:06 +03:00 committed by GitHub
commit 93bb2f5e26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {