mirror of
https://github.com/gofiber/storage.git
synced 2025-10-04 08:16:36 +08:00
apply some ai reviews
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user