mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-12-01 10:21:19 +01:00
New lint rules
This commit is contained in:
85 files changed
+385
-259
No files matched your search
@@ -35,8 +35,8 @@ func ConvertIntSliceToString(slice []int) string {
|
||||
}
|
||||
|
||||
// ConvertStringSliceToInterface is required in some special cases
|
||||
func ConvertStringSliceToInterface(slice []string) []interface{} {
|
||||
res := make([]interface{}, len(slice))
|
||||
func ConvertStringSliceToInterface(slice []string) []any {
|
||||
res := make([]any, len(slice))
|
||||
for i := range slice {
|
||||
res[i] = slice[i]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user