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 /backend.go | |
| parent | fd6e57b6239655722884a49a86be0f051cc32bde (diff) | |
| download | go-schwift-04ce17415f25dbf10eba954212c8428ae630df88.tar.gz | |
Format with go 1.19
Diffstat (limited to 'backend.go')
| -rw-r--r-- | backend.go | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -22,9 +22,9 @@ import ( "net/http" ) -//Backend is the interface between Schwift and the libraries providing -//authentication for it. Each instance of Backend represents a particular Swift -//account. +// Backend is the interface between Schwift and the libraries providing +// authentication for it. Each instance of Backend represents a particular Swift +// account. type Backend interface { //EndpointURL returns the endpoint URL from the Keystone catalog for the //Swift account that this backend operates on. It should look like @@ -43,6 +43,6 @@ type Backend interface { Do(req *http.Request) (*http.Response, error) } -//DefaultUserAgent is the User-Agent string that Backend implementations should -//use if the user does not provide their own User-Agent string. +// DefaultUserAgent is the User-Agent string that Backend implementations should +// use if the user does not provide their own User-Agent string. const DefaultUserAgent = "schwift/" + Version |
