Documentation
¶
Index ¶
- Variables
- type Client
- func (c *Client) Delete(entityName, id string) error
- func (c *Client) Search(entity interface{}, query string, limit, offset int) ([]interface{}, error)
- func (c *Client) SearchWithPagination(entity interface{}, query string, limit, offset int) ([]interface{}, int, error)
- func (c *Client) Update(id string, data interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidDatabase = errors.New("postgres search database invalid")
View Source
var (
ErrInvalidSearchEntity = errors.New("invalid search entity")
)
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.