mirror of
https://github.com/retailcrm/api-client-go.git
synced 2024-11-22 04:46:03 +03:00
commit
020fc8b7cb
@ -32,7 +32,7 @@ func main() {
|
||||
Filter: v5.OrdersFilter{},
|
||||
Limit: 20,
|
||||
Page: 1,
|
||||
})
|
||||
},)
|
||||
if err.ErrorMsg != "" {
|
||||
fmt.Printf("%v", err.ErrorMsg)
|
||||
}
|
||||
|
12
retailcrm.go
12
retailcrm.go
@ -1,12 +0,0 @@
|
||||
package retailcrm
|
||||
|
||||
import (
|
||||
"github.com/retailcrm/api-client-go/v5"
|
||||
)
|
||||
|
||||
// Version5 API client for v5
|
||||
func Version5(url string, key string) *v5.Client {
|
||||
var client = v5.New(url, key)
|
||||
|
||||
return client
|
||||
}
|
Loading…
Reference in New Issue
Block a user