M gnu/packages/golang-xyz.scm => gnu/packages/golang-xyz.scm +24 -0
@@ 7080,6 7080,30 @@ Implements string conversion functionality for unit prefixes.
@end table")
(license license:bsd-3)))
+(define-public go-github-com-dsnet-try
+ (package
+ (name "go-github-com-dsnet-try")
+ (version "0.0.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dsnet/try")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0c6n27sfh37ngl6rh3y0l0f1yc169v97va3msbsnza723f6f7rdb"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/dsnet/try"))
+ (home-page "https://github.com/dsnet/try")
+ (synopsis "Simplified Error Handling in Golang")
+ (description
+ "This package emulates aspects of the ill-fated \"try\" proposal using
+generics.")
+ (license license:bsd-3)))
+
(define-public go-github-com-dustin-go-humanize
(package
(name "go-github-com-dustin-go-humanize")