(value interface{})
| 23 | } |
| 24 | |
| 25 | func extractValueForSQL(value interface{}) interface{} { |
| 26 | if tsVal, ok := value.(TimestampValue); ok { |
| 27 | return tsVal.Time |
| 28 | } |
| 29 | return value |
| 30 | } |
| 31 | |
| 32 | func buildContainmentJSON(key string, value interface{}) ([]byte, error) { |
| 33 | m := map[string]interface{}{key: value} |
no outgoing calls
no test coverage detected