Update README.md
This commit is contained in:
parent
820073835e
commit
4c365f4783
@ -1,11 +1,18 @@
|
|||||||
# datatables
|
# datatables
|
||||||
Simple parser for Datatables.
|
Simple parser for Datatables.
|
||||||
|
|
||||||
|
# Install
|
||||||
|
|
||||||
|
```
|
||||||
|
go get github.com/saulortega/datatables
|
||||||
|
```
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import "github.com/saulortega/datatables"
|
import "github.com/saulortega/datatables"
|
||||||
|
|
||||||
|
//Parse receive *http.Request and returns a Filter struct
|
||||||
filter, err = datatables.Parse(r)
|
filter, err = datatables.Parse(r)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
//Handle error
|
//Handle error
|
||||||
|
Loading…
Reference in New Issue
Block a user