Update README.md
This commit is contained in:
		
							parent
							
								
									674bdaa53e
								
							
						
					
					
						commit
						820073835e
					
				
							
								
								
									
										10
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
									
									
									
									
								
							@ -1,16 +1,20 @@
 | 
			
		||||
# datatables
 | 
			
		||||
Parser for Datatables
 | 
			
		||||
Simple parser for Datatables.
 | 
			
		||||
 | 
			
		||||
# Usage
 | 
			
		||||
 | 
			
		||||
```go
 | 
			
		||||
import "github.com/saulortega/datatables"
 | 
			
		||||
 | 
			
		||||
filter, err = datatables.Parse(r)
 | 
			
		||||
if err != nil {
 | 
			
		||||
  //Handle error
 | 
			
		||||
	//Handle error
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
# Struct
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
```go
 | 
			
		||||
type Filter struct {
 | 
			
		||||
	Draw        int
 | 
			
		||||
	Start       int
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user