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

remove any reference to the pre go1.9 context.Context and replace with iris.Context on some places that were forgotten

got an email feedback about this


Former-commit-id: b1caa261a0d425d8db2091bffb8cfd6065c4e1fa
This commit is contained in:
Gerasimos (Makis) Maropoulos
2019-08-11 15:43:47 +03:00
parent 943c3f77cb
commit 5c91440e46
11 changed files with 29 additions and 33 deletions

View File

@@ -26,7 +26,7 @@ func newApp() *iris.Application {
// List the files inside the current requested directory if `IndexName` not found.
ShowList: false,
// If `ShowList` is true then this function will be used instead of the default one to show the list of files of a current requested directory(dir).
// DirList: func(ctx context.Context, dirName string, dir http.File) error { ... }
// DirList: func(ctx iris.Context, dirName string, dir http.File) error { ... }
//
// Optional validator that loops through each requested resource.
// AssetValidator: func(ctx iris.Context, name string) bool { ... }