Not Implemented Error (ARCH5156)
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Key go.logging.not-implemented · Severity warning · Category logging
not implemented placeholder errors left in production code paths cause unexpected runtime failures. Such stubs should be completed or removed before shipping.
Incorrect
Section titled “Incorrect”func (s *Service) Export(ctx context.Context, id string) error { return errors.New("not implemented")}Correct
Section titled “Correct”func (s *Service) Export(ctx context.Context, id string) error { rec, err := s.repo.Get(ctx, id) if err != nil { return fmt.Errorf("export %s: %w", id, err) } return s.writer.Write(ctx, rec)}Complete the placeholder function with real logic, or remove it from shipped code if not yet ready.