Skip to content

Commit a516d73

Browse files
author
Antoine Huret
committed
update README
1 parent 6b74ea2 commit a516d73

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ It covers the most common usage and contains for each models those functions :
9494
### Create
9595
```go
9696
func (c *Client) CreateCrmLead(cl *CrmLead) (int64, error) {}
97+
func (c *Client) CreateCrmLeads(cls []*CrmLead) ([]int64, error) {}
9798
```
9899

99100
### Update
@@ -196,7 +197,7 @@ These functions give you more flexibility but less usability. We recommand you t
196197
Here are available low level functions :
197198

198199
```go
199-
func (c *Client) Create(model string, values interface{}) (int64, error) {}
200+
func (c *Client) Create(model string, values []interface{}) ([]int64, error) {}
200201
func (c *Client) Update(model string, ids []int64, values interface{}) error {}
201202
func (c *Client) Delete(model string, ids []int64) error {}
202203
func (c *Client) SearchRead(model string, criteria *Criteria, options *Options, elem interface{}) error {}

0 commit comments

Comments
 (0)