[ol10_u0_developer_EPEL] golang-gopkg-warnings-0-devel-0.1.2-17.el10_0.noarch

Name:golang-gopkg-warnings-0-devel
Version:0.1.2
Release:17.el10_0
Architecture:noarch
Group:Unspecified
Size:11399
License:LicenseRef-Callaway-BSD
RPM: golang-gopkg-warnings-0-devel-0.1.2-17.el10_0.noarch.rpm
Source RPM: golang-gopkg-warnings-0-0.1.2-17.el10_0.src.rpm
Build Date:Wed Dec 18 2024
Build Host:build-ol10-x86_64.oracle.com
Vendor:Oracle America
URL:https://github.com/go-warnings/warnings
Summary:Implements error handling with non-fatal errors (warnings)
Description:
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

Changelog (Show File list) (Show related packages)