mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add go-github-com-olekukonko-errors.
* gnu/packages/golang-xyz.scm (go-github-com-olekukonko-errors): New variable. Change-Id: I1d1e121c6b9019c3c4522d8f4daa051dc7c3083a
This commit is contained in:
parent
bc82a84128
commit
268b2c8b5a
1 changed files with 28 additions and 0 deletions
|
@ -14920,6 +14920,34 @@ millisecond)
|
||||||
(list
|
(list
|
||||||
#:import-path "github.com/oklog/ulid/v2"))))
|
#:import-path "github.com/oklog/ulid/v2"))))
|
||||||
|
|
||||||
|
(define-public go-github-com-olekukonko-errors
|
||||||
|
(package
|
||||||
|
(name "go-github-com-olekukonko-errors")
|
||||||
|
(version "1.1.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/olekukonko/errors")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "12wb02aa4pmd1dl34jczcf12v0bv7kh6qfp8zqmw0hsnh6kdp3i4"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:import-path "github.com/olekukonko/errors"))
|
||||||
|
(home-page "https://github.com/olekukonko/errors")
|
||||||
|
(synopsis "Enhanced Error Handling for Golang")
|
||||||
|
(description
|
||||||
|
"Package errors provides a robust error handling library with support for
|
||||||
|
error wrapping, stack traces, context storage, and retry mechanisms. It
|
||||||
|
extends the standard library's error interface with features like HTTP-like
|
||||||
|
status codes, error categorization, and JSON serialization, while maintaining
|
||||||
|
compatibility with `errors.Is`, `errors.As`, and `errors.Unwrap`. The package
|
||||||
|
is thread-safe and optimized with object pooling for performance.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public go-github-com-olekukonko-tablewriter
|
(define-public go-github-com-olekukonko-tablewriter
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-olekukonko-tablewriter")
|
(name "go-github-com-olekukonko-tablewriter")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue