Added OPTIONS to README
This commit is contained in:
		@ -55,7 +55,7 @@ func main() {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#### Using GET, POST, PUT, PATCH and DELETE
 | 
					#### Using GET, POST, PUT, PATCH, DELETE and OPTIONS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```go
 | 
					```go
 | 
				
			||||||
func main() {
 | 
					func main() {
 | 
				
			||||||
@ -67,6 +67,7 @@ func main() {
 | 
				
			|||||||
    r.PUT("/somePut", putting)
 | 
					    r.PUT("/somePut", putting)
 | 
				
			||||||
    r.DELETE("/someDelete", deleting)
 | 
					    r.DELETE("/someDelete", deleting)
 | 
				
			||||||
    r.PATCH("/somePatch", patching)
 | 
					    r.PATCH("/somePatch", patching)
 | 
				
			||||||
 | 
					    r.OPTIONS("/someOptions", options)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Listen and server on 0.0.0.0:8080
 | 
					    // Listen and server on 0.0.0.0:8080
 | 
				
			||||||
    r.Run(":8080")
 | 
					    r.Run(":8080")
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user