Update README.md
This commit is contained in:
		
							parent
							
								
									674bdaa53e
								
							
						
					
					
						commit
						820073835e
					
				@ -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
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user