Saúl Ortega
GitHub
6 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
7 additions and
3 deletions
-
README.md
|
@@ -1,16 +1,20 @@ |
|
|
# datatables |
|
|
# datatables |
|
|
Parser for Datatables |
|
|
|
|
|
|
|
|
Simple parser for Datatables. |
|
|
|
|
|
|
|
|
# Usage |
|
|
# Usage |
|
|
|
|
|
|
|
|
|
|
|
```go |
|
|
|
|
|
import "github.com/saulortega/datatables" |
|
|
|
|
|
|
|
|
filter, err = datatables.Parse(r) |
|
|
filter, err = datatables.Parse(r) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
//Handle error |
|
|
|
|
|
|
|
|
//Handle error |
|
|
} |
|
|
} |
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
# Struct |
|
|
# Struct |
|
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
```go |
|
|
type Filter struct { |
|
|
type Filter struct { |
|
|
Draw int |
|
|
Draw int |
|
|
Start int |
|
|
Start int |
|
|