aboutsummaryrefslogtreecommitdiff
path: root/account.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2018-05-03 14:09:36 +0200
committerStefan Majewsky <majewsky@gmx.net>2018-05-03 14:09:36 +0200
commit8cb7c02b4294d3f596633284abc144ba98b565b8 (patch)
treed171d6614aaee0e53b1ebea3c9345e3ff65af4a3 /account.go
parent1a64fd95e191e87b9d0c1e0e9556cff92fc230a5 (diff)
downloadgo-schwift-8cb7c02b4294d3f596633284abc144ba98b565b8.tar.gz
proof-read documentation
Diffstat (limited to 'account.go')
-rw-r--r--account.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/account.go b/account.go
index 4277163..c101b54 100644
--- a/account.go
+++ b/account.go
@@ -25,7 +25,9 @@ import (
"regexp"
)
-//Account represents a Swift account.
+//Account represents a Swift account. Instances are usually obtained by
+//connecting to a backend (see package-level documentation), or by traversing
+//upwards from a container with Container.Account().
type Account struct {
backend Backend
//URL parts
@@ -57,7 +59,7 @@ func InitializeAccount(backend Backend) (*Account, error) {
}, nil
}
-//SwitchAccount returns a handle on a different account on the same server. Note
+//SwitchAccount returns a handle to a different account on the same server. Note
//that you need reseller permissions to access accounts other than that where
//you originally authenticated. This method does not check whether the account
//actually exists.