Comments and missing words.
diff --git a/doc.go b/doc.go
index 6b07c5c..fb81a9d 100644
--- a/doc.go
+++ b/doc.go
@@ -45,7 +45,7 @@
All requests that enumerate a collection return a Pager struct that is used to
iterate through the results one page at a time. Use the EachPage method on that
Pager to handle each successive Page in a closure, then use the appropriate
-extraction method from that requests' package to interpret that Page as a slice
+extraction method from that request's package to interpret that Page as a slice
of results:
err := servers.List(client, nil).EachPage(func (page pagination.Page) (bool, error) {
diff --git a/endpoint_search.go b/endpoint_search.go
index 4dc0ab5..5189431 100644
--- a/endpoint_search.go
+++ b/endpoint_search.go
@@ -21,15 +21,16 @@
// Different identity services use different terminology for these. Identity v2
// lists them as different kinds of URLs within the service catalog ("adminURL",
// "internalURL", and "publicURL"), while v3 lists them as "Interfaces" in an
-// endpoints response.
+// endpoint's response.
type Availability string
const (
- // AvailabilityAdmin indicates that an endpoint only available to administrators.
+ // AvailabilityAdmin indicates that an endpoint is only available to
+ // administrators.
AvailabilityAdmin Availability = "admin"
- // AvailabilityPublic indicates that an endpoint available to everyone on the
- // internet.
+ // AvailabilityPublic indicates that an endpoint is available to everyone on
+ // the internet.
AvailabilityPublic Availability = "public"
// AvailabilityInternal indicates that an endpoint is only available within
@@ -37,7 +38,7 @@
AvailabilityInternal Availability = "internal"
)
-// EndpointOpts specifies search criteria used to by queries against an
+// EndpointOpts specifies search criteria used by queries against an
// OpenStack service catalog. The options must contain enough information to
// unambiguously identify one, and only one, endpoint within the catalog.
//