apply some ai reviews

This commit is contained in:
Muhammed Efe Cetin
2025-07-04 14:42:34 +03:00
parent 8139126338
commit 0feb2ba53d
6 changed files with 5 additions and 7 deletions

View File

@@ -82,7 +82,7 @@ func New(config ...Config) *Storage {
}
}
// GetWithContext value by key with context
// GetWithContext retrieves the value associated with the given key using the provided context.
func (s *Storage) GetWithContext(ctx context.Context, key string) ([]byte, error) {
if len(key) <= 0 {
return nil, nil