Skip to content

Not Implemented Error (ARCH5156)

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.

func (s *Service) Export(ctx context.Context, id string) error {
return errors.New("not implemented")
}
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.