perf(misconf): replace with post-analyzers (#4090)

Signed-off-by: Simar <simar@linux.com>
Co-authored-by: Simar <simar@linux.com>
This commit is contained in:
Teppei Fukuda
2023-04-23 19:22:46 +03:00
committed by GitHub
parent 76662d5dd7
commit bd0c60364a
87 changed files with 1168 additions and 2170 deletions

View File

@@ -0,0 +1,11 @@
package testutil
import (
"runtime"
"github.com/samber/lo"
)
var ErrNotExist string = lo.Ternary(runtime.GOOS == "windows",
"The system cannot find the file specified.",
"no such file or directory")