Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-congo committed Mar 21, 2024
1 parent 2d9b990 commit d7f10e3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions go/api/cluster_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ package api

// RedisClusterClient is a client used for connection to cluster Redis servers.
type RedisClusterClient struct {
*baseClient
*baseClient
}

// NewRedisClusterClient creates a [RedisClusterClient] in cluster mode using the given [RedisClusterClientConfiguration].
func NewRedisClusterClient(config *RedisClusterClientConfiguration) (*RedisClusterClient, error) {
client, err := createClient(config)
if err != nil {
return nil, err
}
client, err := createClient(config)
if err != nil {
return nil, err
}

return &RedisClusterClient{client}, nil
return &RedisClusterClient{client}, nil
}
12 changes: 6 additions & 6 deletions go/api/standalone_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ import "C"

// RedisClient is a client used for connection to standalone Redis servers.
type RedisClient struct {
*baseClient
*baseClient
}

// NewRedisClient creates a [RedisClient] in standalone mode using the given [RedisClientConfiguration].
func NewRedisClient(config *RedisClientConfiguration) (*RedisClient, error) {
client, err := createClient(config)
if err != nil {
return nil, err
}
client, err := createClient(config)
if err != nil {
return nil, err
}

return &RedisClient{client}, nil
return &RedisClient{client}, nil
}

0 comments on commit d7f10e3

Please sign in to comment.