Update product name, cleanup annotations (#43)

This commit is contained in:
Alex Lushpai 2020-12-15 13:33:24 +03:00 committed by GitHub
parent c24cb50d9e
commit 3d71115827
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 16 deletions

View File

@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2015-2018 RetailDriver LLC
Copyright (c) 2015-2020 RetailDriver LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -1,13 +1,14 @@
[![Build Status](https://github.com/retailcrm/api-client-go/workflows/ci/badge.svg)](https://github.com/retailcrm/api-client-go/actions)
[![Covarage](https://img.shields.io/codecov/c/gh/retailcrm/api-client-go/master.svg?logo=codecov)](https://codecov.io/gh/retailcrm/api-client-go)
[![GitHub release](https://img.shields.io/github/release/retailcrm/api-client-go.svg)](https://github.com/retailcrm/api-client-go/releases)
[![Covarage](https://img.shields.io/codecov/c/gh/retailcrm/api-client-go/master.svg?logo=codecov&logoColor=white)](https://codecov.io/gh/retailcrm/api-client-go)
[![GitHub release](https://img.shields.io/github/release/retailcrm/api-client-go.svg?logo=github&logoColor=white)](https://github.com/retailcrm/api-client-go/releases)
[![Go Report Card](https://goreportcard.com/badge/github.com/retailcrm/api-client-go)](https://goreportcard.com/report/github.com/retailcrm/api-client-go)
[![GoLang version](https://img.shields.io/badge/go->=1.8-blue)](https://golang.org/dl/)
[![Godoc reference](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/retailcrm/api-client-go)
[![pkg.go.dev](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white)](https://pkg.go.dev/github.com/retailcrm/api-client-go)
# retailCRM API Go client
# RetailCRM API Go client
This is golang retailCRM API client.
This is golang RetailCRM API client.
## Install
@ -104,8 +105,3 @@ func main() {
fmt.Println(idata.processedOffersCount)
}
```
## Documentation
* [English](http://www.retailcrm.pro/docs/Developers/Index)
* [Russian](http://www.retailcrm.ru/docs/Developers/Index)

View File

@ -5083,7 +5083,7 @@ func (c *Client) Files(files FilesRequest) (FilesResponse, int, *errs.Failure) {
return resp, status, nil
}
// FileUpload uploads file to retailCRM
// FileUpload uploads file to RetailCRM
//
// For more information see https://help.retailcrm.pro/Developers/ApiVersion5#get--api-v5-files
//
@ -5163,7 +5163,7 @@ func (c *Client) File(id int) (FileResponse, int, *errs.Failure) {
return resp, status, nil
}
// FileDelete removes file from retailCRM
// FileDelete removes file from RetailCRM
//
// For more information see https://help.retailcrm.pro/Developers/ApiVersion5#get--api-v5-files
//
@ -5199,7 +5199,7 @@ func (c *Client) FileDelete(id int) (SuccessfulResponse, int, *errs.Failure) {
return resp, status, nil
}
// FileDownload downloads file from retailCRM
// FileDownload downloads file from RetailCRM
//
// For more information see https://help.retailcrm.pro/Developers/ApiVersion5#get--api-v5-files
//
@ -5226,7 +5226,7 @@ func (c *Client) FileDownload(id int) (io.ReadCloser, int, *errs.Failure) {
return closer, status, nil
}
// FileEdit edits file name and relations with orders and customers in retailCRM
// FileEdit edits file name and relations with orders and customers in RetailCRM
//
// For more information see https://help.retailcrm.pro/Developers/ApiVersion5#get--api-v5-files
//

View File

@ -39,7 +39,7 @@ var (
user, _ = strconv.Atoi(os.Getenv("RETAILCRM_USER"))
statuses = map[int]bool{http.StatusOK: true, http.StatusCreated: true}
crmURL = os.Getenv("RETAILCRM_URL")
badURL = "https://qwertypoiu.retailcrm.ru"
badURL = "https://qwertypoiu.retailcrm.pro"
statusFail = "FailTest: status < 400"
successFail = "FailTest: Success == true"