Merge pull request #303 from alex/typos
[RFR] Fixed a few typos
diff --git a/UPGRADING.md b/UPGRADING.md
index da3758b..a702cfc 100644
--- a/UPGRADING.md
+++ b/UPGRADING.md
@@ -238,7 +238,7 @@
imageList, err := images.ExtractImages(page)
for _, i := range imageList {
- // "i" will be a images.Image
+ // "i" will be an images.Image
}
})
```
@@ -284,7 +284,7 @@
imageList, err := images.ExtractImages(page)
for _, i := range imageList {
- // "i" will be a images.Image
+ // "i" will be an images.Image
}
})
```
diff --git a/openstack/identity/v2/users/requests.go b/openstack/identity/v2/users/requests.go
index b882d7d..4ce395f 100644
--- a/openstack/identity/v2/users/requests.go
+++ b/openstack/identity/v2/users/requests.go
@@ -114,7 +114,7 @@
return result
}
-// UpdateOptsBuilder allows extentions to add additional attributes to the Update request.
+// UpdateOptsBuilder allows extensions to add additional attributes to the Update request.
type UpdateOptsBuilder interface {
ToUserUpdateMap() map[string]interface{}
}
diff --git a/params.go b/params.go
index 7b79166..68c17eb 100644
--- a/params.go
+++ b/params.go
@@ -90,7 +90,7 @@
will be converted into "?x_bar=AAA&lorem_ipsum=BBB".
The struct's fields may be strings, integers, or boolean values. Fields left at
-their type's zero value will be omittted from the query.
+their type's zero value will be omitted from the query.
*/
func BuildQueryString(opts interface{}) (*url.URL, error) {
optsValue := reflect.ValueOf(opts)
@@ -153,7 +153,7 @@
BuildHeaders is an internal function to be used by request methods in
individual resource packages.
-It accepts a arbitrary tagged structure and produces a string map that's
+It accepts an arbitrary tagged structure and produces a string map that's
suitable for use as the HTTP headers of an outgoing request. Field names are
mapped to header names based in "h" tags.
diff --git a/rackspace/identity/v2/users/delegate.go b/rackspace/identity/v2/users/delegate.go
index 6628097..ae2acde 100644
--- a/rackspace/identity/v2/users/delegate.go
+++ b/rackspace/identity/v2/users/delegate.go
@@ -87,7 +87,7 @@
return GetResult{os.Get(client, id)}
}
-// UpdateOptsBuilder allows extentions to add additional attributes to the Update request.
+// UpdateOptsBuilder allows extensions to add additional attributes to the Update request.
type UpdateOptsBuilder interface {
ToUserUpdateMap() map[string]interface{}
}