(key string)
| 91 | } |
| 92 | |
| 93 | func (s *SharedState) Get(key string) ([]byte, bool, error) { //nolint:gocritic // Keep unnamed returns for clarity. |
| 94 | return s.GetWithContext(context.Background(), key) |
| 95 | } |
| 96 | |
| 97 | // GetWithContext returns a defensive copy of the stored bytes so callers can |
| 98 | // safely mutate the returned slice without changing the shared value. |