commit | 4baa1236420df05bb4c232e47dd71b83b716582d | [log] [tgz] |
---|---|---|
author | Jamie Hannaford <jamie.hannaford@rackspace.com> | Tue Sep 23 15:23:04 2014 +0200 |
committer | Jamie Hannaford <jamie.hannaford@rackspace.com> | Tue Sep 23 15:23:04 2014 +0200 |
tree | f9ecc179a4cd1eb9c2b08bd870793a96aff66f1f | |
parent | b3120f5e84e7984b28d9019e8ba138cdef1def33 [diff] [blame] |
Shifting to root pkg
diff --git a/results.go b/results.go new file mode 100644 index 0000000..3ca7c94 --- /dev/null +++ b/results.go
@@ -0,0 +1,9 @@ +package gophercloud + +// CommonResult acts as a base struct that other results can embed. It contains +// the deserialized JSON structure returned from the server (Resp), and any +// errors that might have occurred during transport or deserialization. +type CommonResult struct { + Resp map[string]interface{} + Err error +}