Skip to content

Fix some bug#1

Open
Scent-z wants to merge 1 commit into
Percygu:masterfrom
Scent-z:fix-bug
Open

Fix some bug#1
Scent-z wants to merge 1 commit into
Percygu:masterfrom
Scent-z:fix-bug

Conversation

@Scent-z

@Scent-z Scent-z commented Jul 17, 2026

Copy link
Copy Markdown
  • cache.go: remove redundant time.Second multiplication in Set expiration
  • cache.go: fix double pointer issue in json.Marshal/Unmarshal (use value, not &value)
  • redis_test.go: use Result() instead of Val() to handle errors properly
  • router.go: remove unnecessary return in AuthMiddleWare

- cache.go: remove redundant time.Second multiplication in Set expiration
- cache.go: fix double pointer issue in json.Marshal/Unmarshal (use value, not &value)
- redis_test.go: use Result() instead of Val() to handle errors properly
- router.go: remove unnecessary return in AuthMiddleWare
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant