1package blueprint 2 3func copyStringMap(source map[string]string) map[string]string { 4 if source == nil { 5 return nil 6 } 7 result := map[string]string{} 8 for key, value := range source { 9 result[key] = value 10 } 11 return result 12}