Merge pull request #7 from gwinn/master

remove unnecessary code
This commit is contained in:
Alex Lushpai 2018-04-17 09:51:43 +03:00 committed by GitHub
commit 020fc8b7cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
}