diff options
| author | Sandro Jäckel <sandro.jaeckel@sap.com> | 2022-10-26 11:31:22 +0200 |
|---|---|---|
| committer | Sandro Jäckel <sandro.jaeckel@sap.com> | 2022-10-26 14:05:42 +0200 |
| commit | 04ce17415f25dbf10eba954212c8428ae630df88 (patch) | |
| tree | 1aca7ceab052f17a44bb903fb5a8bd45202bd54c /capabilities.go | |
| parent | fd6e57b6239655722884a49a86be0f051cc32bde (diff) | |
| download | go-schwift-04ce17415f25dbf10eba954212c8428ae630df88.tar.gz | |
Format with go 1.19
Diffstat (limited to 'capabilities.go')
| -rw-r--r-- | capabilities.go | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/capabilities.go b/capabilities.go index 69d6183..62290d9 100644 --- a/capabilities.go +++ b/capabilities.go @@ -18,14 +18,14 @@ package schwift -//Capabilities describes a subset of the capabilities that Swift can report -//under its /info endpoint. This struct is obtained through the -//Account.Capabilities() method. To query capabilities not represented in this -//struct, see Account.QueryCapabilities(). +// Capabilities describes a subset of the capabilities that Swift can report +// under its /info endpoint. This struct is obtained through the +// Account.Capabilities() method. To query capabilities not represented in this +// struct, see Account.QueryCapabilities(). // -//All direct members of struct Capabilities, except for "Swift", are pointers. -//If any of these is nil, it indicates that the middleware corresponding to -//that field is not available on this server. +// All direct members of struct Capabilities, except for "Swift", are pointers. +// If any of these is nil, it indicates that the middleware corresponding to +// that field is not available on this server. type Capabilities struct { BulkDelete *struct { MaximumDeletesPerRequest uint `json:"max_deletes_per_request"` @@ -82,7 +82,7 @@ type Capabilities struct { } `json:"tempurl"` } -//StoragePolicySpec is a subtype that appears in struct Capabilities. +// StoragePolicySpec is a subtype that appears in struct Capabilities. type StoragePolicySpec struct { Name string `json:"name"` Aliases string `json:"aliases"` |
