mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-10 12:37:48 +00:00
fix
This commit is contained in:
@@ -533,6 +533,10 @@ func GenerateCleanSpecConfigBaseURL(baseURL *url.URL, dir string, includeFile bo
|
||||
}
|
||||
|
||||
func syncMapToMap[K comparable, V any](sm *sync.Map) map[K]V {
|
||||
if sm == nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
m := make(map[K]V)
|
||||
|
||||
sm.Range(func(key, value interface{}) bool {
|
||||
|
||||
Reference in New Issue
Block a user