// SPDX-License-Identifier: BSD-2-Clause // // Copyright (c) 2025 The FreeBSD Foundation. // // This software was developed by Hayzam Sherif // of Alchemilla Ventures Pvt. Ltd. , // under sponsorship from the FreeBSD Foundation. package utils func MapKeys(m map[string]struct{}) []string { out := make([]string, 0, len(m)) for k := range m { out = append(out, k) } return out }