(obj map[interface{}]interface{})
| 254 | } |
| 255 | |
| 256 | func convertKeysToStrings(obj map[interface{}]interface{}) map[string]interface{} { |
| 257 | res := make(map[string]interface{}) |
| 258 | |
| 259 | for k, v := range obj { |
| 260 | res[fmt.Sprintf("%v", k)] = v |
| 261 | } |
| 262 | |
| 263 | return res |
| 264 | } |
| 265 | |
| 266 | // Generate go struct entries for a map[string]interface{} structure |
| 267 | func generateTypes(obj map[string]interface{}, structName string, tags []string, depth int, subStructMap map[string]string, convertFloats bool) string { |
no outgoing calls
no test coverage detected