mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-24 03:32:02 -08:00
2f33fe86f5
* Update dependencies and build to go1.22 * Fix api changes wrt to dependencies * Update golangci config
16 lines
318 B
Go
16 lines
318 B
Go
// SPDX-License-Identifier: MIT
|
|
// SPDX-FileCopyrightText: © 2015 LabStack LLC and Echo contributors
|
|
|
|
//go:build !windows
|
|
|
|
package middleware
|
|
|
|
import (
|
|
"os"
|
|
)
|
|
|
|
// We ignore these errors as there could be handler that matches request path.
|
|
func isIgnorableOpenFileError(err error) bool {
|
|
return os.IsNotExist(err)
|
|
}
|