You've already forked nginx-proxy-manager
mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-07-28 08:02:00 +03:00
New lint rules
This commit is contained in:
@ -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