diff options
| author | Stefan Majewsky <stefan.majewsky@sap.com> | 2021-05-28 13:53:57 +0200 |
|---|---|---|
| committer | Stefan Majewsky <stefan.majewsky@sap.com> | 2021-05-28 13:53:57 +0200 |
| commit | 4caefbba49a5675d39fa87f26a757f8131313598 (patch) | |
| tree | 1f99a3d420ba82e1bcb20794cbfd7de423ad5d40 /doc.go | |
| parent | bd1c74594efeab1268531225d304ebae8992e286 (diff) | |
| download | go-schwift-4caefbba49a5675d39fa87f26a757f8131313598.tar.gz | |
doc: extend usage example
Diffstat (limited to 'doc.go')
| -rw-r--r-- | doc.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -58,6 +58,10 @@ have access to all of schwift's API: account, err := gopherschwift.Wrap(client) +For example, to download an object's contents into a string: + + text, err := account.Container("foo").Object("bar.txt").Download(nil).AsString() + Authentication with a different OpenStack library If you use a different Go library to handle Keystone/Swift authentication, take |
