mirror of
https://github.com/retailcrm/api-client-go.git
synced 2024-11-22 04:46:03 +03:00
remove unnecessary code
This commit is contained in:
parent
a9c16a0e26
commit
8e5a2da89a
@ -32,7 +32,7 @@ func main() {
|
|||||||
Filter: v5.OrdersFilter{},
|
Filter: v5.OrdersFilter{},
|
||||||
Limit: 20,
|
Limit: 20,
|
||||||
Page: 1,
|
Page: 1,
|
||||||
})
|
},)
|
||||||
if err.ErrorMsg != "" {
|
if err.ErrorMsg != "" {
|
||||||
fmt.Printf("%v", 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