aboutsummaryrefslogtreecommitdiff
path: root/account.go
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2024-07-01 13:05:01 +0200
committerSandro Jäckel <sandro.jaeckel@gmail.com>2024-07-01 13:05:35 +0200
commitbd23c64a1283835f5991444bb47ec3da1895ff42 (patch)
treed548aa20b2944b578a429aeae2ac1790b6f0f69a /account.go
parent21ec57dc4fed205fde1890c0d7531aae6197b3db (diff)
downloadgo-schwift-bd23c64a1283835f5991444bb47ec3da1895ff42.tar.gz
Fix gophercloud lint complains
Diffstat (limited to 'account.go')
-rw-r--r--account.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/account.go b/account.go
index 90139cc..cdccc78 100644
--- a/account.go
+++ b/account.go
@@ -32,10 +32,10 @@ import (
// upwards from a container with Container.Account().
type Account struct {
backend Backend
- //URL parts
+ // URL parts
baseURL string
name string
- //cache
+ // cache
headers *AccountHeaders
caps *Capabilities
capsMutex sync.Mutex
@@ -216,8 +216,8 @@ func (a *Account) Capabilities() (Capabilities, error) {
// this account, and returns the response body. Unlike Account.Capabilities,
// this method does not employ any caching.
func (a *Account) RawCapabilities() ([]byte, error) {
- //This method is the only one in Schwift that bypasses struct Request since
- //the request URL is not below the endpoint URL.
+ // This method is the only one in Schwift that bypasses struct Request since
+ // the request URL is not below the endpoint URL.
req, err := http.NewRequestWithContext(context.TODO(), http.MethodGet, a.baseURL+"info", http.NoBody)
if err != nil {
return nil, err