(extPropValue any)
| 68 | } |
| 69 | |
| 70 | func extParseOmitZero(extPropValue any) (bool, error) { |
| 71 | omitZero, ok := extPropValue.(bool) |
| 72 | if !ok { |
| 73 | return false, fmt.Errorf("failed to convert type: %T", extPropValue) |
| 74 | } |
| 75 | return omitZero, nil |
| 76 | } |
| 77 | |
| 78 | func extExtraTags(extPropValue any) (map[string]string, error) { |
| 79 | tagsI, ok := extPropValue.(map[string]any) |
no outgoing calls
no test coverage detected