mirror of
https://github.com/retailcrm/api-client-go.git
synced 2024-11-25 06:16:03 +03:00
update readme
This commit is contained in:
parent
7dc2538328
commit
1f71efb1ed
@ -33,12 +33,12 @@ func main() {
|
||||
Limit: 20,
|
||||
Page: 1,
|
||||
},)
|
||||
if err.ErrorMsg != "" {
|
||||
if err.RuntimeErr != nil {
|
||||
fmt.Printf("%v", err.ErrorMsg)
|
||||
}
|
||||
|
||||
if status >= http.StatusBadRequest {
|
||||
fmt.Printf("%v", err.ErrorMsg)
|
||||
fmt.Printf("%v", err.ApiError())
|
||||
}
|
||||
|
||||
for _, value := range data.Orders {
|
||||
@ -67,12 +67,12 @@ func main() {
|
||||
},
|
||||
},
|
||||
)
|
||||
if err.ErrorMsg != "" {
|
||||
if err.RuntimeErr != nil {
|
||||
fmt.Printf("%v", err.ErrorMsg)
|
||||
}
|
||||
|
||||
if status >= http.StatusBadRequest {
|
||||
fmt.Printf("%v", err.ErrorMsg)
|
||||
fmt.Printf("%v", err.ApiError())
|
||||
}
|
||||
|
||||
fmt.Println(idata.processedOffersCount)
|
||||
|
Loading…
Reference in New Issue
Block a user