(file map[string]interface{})
| 1230 | } |
| 1231 | |
| 1232 | func copyFileMetadata(file map[string]interface{}) map[string]interface{} { |
| 1233 | copiedFile := make(map[string]interface{}, len(file)) |
| 1234 | for key, value := range file { |
| 1235 | copiedFile[key] = value |
| 1236 | } |
| 1237 | return copiedFile |
| 1238 | } |
| 1239 | |
| 1240 | func (dbResource *DbResource) UpdateWithTransaction(obj interface{}, req api2go.Request, transaction *sqlx.Tx) (api2go.Responder, error) { |
| 1241 | data, _ := obj.(api2go.Api2GoModel) |
no test coverage detected