remove unnecessary code

This commit is contained in:
Alex Lushpai 2018-03-21 01:30:55 +03:00
parent a9c16a0e26
commit 8e5a2da89a
2 changed files with 1 additions and 13 deletions

View File

@ -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)
} }

View File

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