Jamie Hannaford | 4baa123 | 2014-09-23 15:23:04 +0200 | [diff] [blame] | 1 | package gophercloud |
Jamie Hannaford | b3120f5 | 2014-09-23 15:17:57 +0200 | [diff] [blame] | 2 | |
| 3 | // CommonResult acts as a base struct that other results can embed. It contains |
Jamie Hannaford | 4baa123 | 2014-09-23 15:23:04 +0200 | [diff] [blame] | 4 | // the deserialized JSON structure returned from the server (Resp), and any |
Jamie Hannaford | b3120f5 | 2014-09-23 15:17:57 +0200 | [diff] [blame] | 5 | // errors that might have occurred during transport or deserialization. |
| 6 | type CommonResult struct { |
| 7 | Resp map[string]interface{} |
| 8 | Err error |
| 9 | } |