Adding documentation
diff --git a/openstack/db/v1/databases/results.go b/openstack/db/v1/databases/results.go
index 85e3363..7c967f5 100644
--- a/openstack/db/v1/databases/results.go
+++ b/openstack/db/v1/databases/results.go
@@ -6,8 +6,9 @@
"github.com/rackspace/gophercloud/pagination"
)
+// Database represents a Database API resource.
type Database struct {
- // Specifies the name of the MySQL DB.
+ // Specifies the name of the MySQL database.
Name string
// Set of symbols and encodings. The default character set is utf8.
@@ -18,10 +19,16 @@
Collate string
}
+// CreateResult represents the result of a Create operation.
type CreateResult struct {
gophercloud.Result
}
+// DeleteResult represents the result of a Delete operation.
+type DeleteResult struct {
+ gophercloud.ErrResult
+}
+
// DBPage represents a single page of a paginated DB collection.
type DBPage struct {
pagination.LinkedPageBase
@@ -63,7 +70,3 @@
err := mapstructure.Decode(casted, &response)
return response.Databases, err
}
-
-type DeleteResult struct {
- gophercloud.ErrResult
-}