1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-09 13:05:56 +00:00

CI: minor: use the new exclude-paths (dependabot PR approved some days ago)

This commit is contained in:
Gerasimos (Makis) Maropoulos
2025-08-16 22:48:38 +03:00
parent a8a3afea22
commit 92164cee52
37 changed files with 268 additions and 266 deletions

View File

@@ -17,7 +17,7 @@ import (
// It affects the view engine's filesystem resolver.
//
// This package-level variable can be modified on initialization.
var ResolveFS = func(fsOrDir interface{}) fs.FS {
var ResolveFS = func(fsOrDir any) fs.FS {
if fsOrDir == nil {
return noOpFS{}
}
@@ -101,7 +101,7 @@ func (f *httpFS) ReadDir(name string) ([]fs.DirEntry, error) {
// It affects the Application's API Builder's `HandleDir` method.
//
// This package-level variable can be modified on initialization.
var ResolveHTTPFS = func(fsOrDir interface{}) http.FileSystem {
var ResolveHTTPFS = func(fsOrDir any) http.FileSystem {
var fileSystem http.FileSystem
switch v := fsOrDir.(type) {
case string: