Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

golang-gopkg-warnings-0-devel-0.1.2-17.el10_0 RPM for noarch

From EPEL 10.3 for x86_64 / Packages / g

Name: golang-gopkg-warnings-0-devel Distribution: Fedora Project
Version: 0.1.2 Vendor: Fedora Project
Release: 17.el10_0 Build date: Thu Nov 7 06:16:39 2024
Group: Unspecified Build host: buildvm-a64-15.iad2.fedoraproject.org
Size: 11399 Source RPM: golang-gopkg-warnings-0-0.1.2-17.el10_0.src.rpm
Packager: Fedora Project
Url: https://github.com/go-warnings/warnings
Summary: Implements error handling with non-fatal errors (warnings)
A recurring programming pattern pattern is to allow interrupting the flow on any
received error. But what if there are errors that should be noted but still not
fatal, for which the flow should not be interrupted? Implementing such logic at
each if statement would make the code complex and the flow much harder to
follow.

Package Warnings provides the Collector type and a clean and simple pattern for
achieving such logic. The Collector takes care of deciding when to break the
flow and when to continue, collecting any non-fatal errors (warnings) along the
way. The only requirement is that fatal and non-fatal errors can be
distinguished programmatically.

This package contains the source code needed for building packages that
reference the following Go import paths:
 – gopkg.in/warnings.v0

Provides

Requires

License

LicenseRef-Callaway-BSD

Changelog

* Mon Sep 02 2024 Miroslav Suchý <msuchy@redhat.com> - 0.1.2-17
  - convert l