Files
Víctor Zamanillo e9aa081544 Fixed gomnd issues
2020-09-26 19:56:17 +02:00

19 lines
327 B
Go

package httputilz
import "net/http"
// AllHTTPMethods contains all available HTTP methods
func AllHTTPMethods() []string {
return []string{
http.MethodGet,
http.MethodHead,
http.MethodPost,
http.MethodPut,
http.MethodPatch,
http.MethodDelete,
http.MethodConnect,
http.MethodOptions,
http.MethodTrace,
}
}