1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 09:57:01 +00:00

rename master branch to main

This commit is contained in:
Gerasimos (Makis) Maropoulos
2023-08-20 03:12:46 +03:00
parent 2e9745a915
commit 48f7b38d15
62 changed files with 216 additions and 211 deletions

2
cache/cache.go vendored
View File

@@ -64,7 +64,7 @@ func Cache(expiration time.Duration) *client.Handler {
// Handler like `Cache` but returns an Iris Handler to be used as a middleware.
// For more options use the `Cache`.
//
// Examples can be found at: https://github.com/kataras/iris/tree/master/_examples/response-writer/cache
// Examples can be found at: https://github.com/kataras/iris/tree/main/_examples/response-writer/cache
func Handler(expiration time.Duration) context.Handler {
h := Cache(expiration).ServeHTTP
return h