Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
35f39ca2
"vscode:/vscode.git/clone" did not exist on "cab60ef735b2edb900f8352d6246cbbe7ed8a205"
Commit
35f39ca2
authored
Jan 31, 2026
by
iBenzene
Browse files
chore: 修复了 redis.go 中代码风格(golangci-lint)的问题
parent
f2e20670
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/internal/repository/redis.go
View file @
35f39ca2
...
@@ -40,8 +40,8 @@ func buildRedisOptions(cfg *config.Config) *redis.Options {
...
@@ -40,8 +40,8 @@ func buildRedisOptions(cfg *config.Config) *redis.Options {
if
cfg
.
Redis
.
EnableTLS
{
if
cfg
.
Redis
.
EnableTLS
{
opts
.
TLSConfig
=
&
tls
.
Config
{
opts
.
TLSConfig
=
&
tls
.
Config
{
MinVersion
:
tls
.
VersionTLS12
,
MinVersion
:
tls
.
VersionTLS12
,
ServerName
:
cfg
.
Redis
.
Host
,
ServerName
:
cfg
.
Redis
.
Host
,
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment