소스 검색

Added OPTIONS to README

Alexander Nyquist 11 년 전
부모
커밋
fd86812e81
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      README.md

+ 2 - 1
README.md

@@ -55,7 +55,7 @@ func main() {
 }
 ```
 
-#### Using GET, POST, PUT, PATCH and DELETE
+#### Using GET, POST, PUT, PATCH, DELETE and OPTIONS
 
 ```go
 func main() {
@@ -67,6 +67,7 @@ func main() {
     r.PUT("/somePut", putting)
     r.DELETE("/someDelete", deleting)
     r.PATCH("/somePatch", patching)
+    r.OPTIONS("/someOptions", options)
 
     // Listen and server on 0.0.0.0:8080
     r.Run(":8080")