(ctx context.Context, key string, out any)
| 206 | } |
| 207 | |
| 208 | func (s *SharedState) GetXMLWithContext(ctx context.Context, key string, out any) ([]byte, bool, error) { //nolint:gocritic // Keep unnamed returns for clarity. |
| 209 | if err := s.ensureStorage(); err != nil { |
| 210 | return nil, false, err |
| 211 | } |
| 212 | |
| 213 | return s.getEncodedWithContext(ctx, key, out, s.xmlDecoder, "xml") |
| 214 | } |
| 215 | |
| 216 | func (s *SharedState) Delete(key string) error { |
| 217 | return s.DeleteWithContext(context.Background(), key) |
no test coverage detected