Ecosyste.ms: Funds
An open API service for providing issue and pull request metadata for open source projects.
https://github.com/uber-go/multierr
errors go golang
Last synced: about 4 hours ago
Repository metadata:
Combine one or more Go errors together
- Host: GitHub
- URL: https://github.com/uber-go/multierr
- Owner: uber-go
- License: mit
- Created: 2017-03-15T12:25:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-04-29T19:14:36.000Z (6 months ago)
- Last Synced: 2024-10-29T11:10:00.432Z (12 days ago)
- Topics: errors, go, golang
- Language: Go
- Homepage: https://go.uber.org/multierr
- Size: 86.9 KB
- Stars: 1,030
- Watchers: 21
- Forks: 41
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Owner metadata:
- Name: Uber Go
- Login: uber-go
- Email:
- Kind: organization
- Description: Uber's open source software for Go development
- Website: http://uber.github.io/
- Location: 70+ countries and counting.
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/19262598?v=4
- Repositories: 27
- Last Synced at: 2024-03-27T07:23:04.415Z
- Profile URL: https://github.com/uber-go
- Sponsor URL:
Committers metadata
Last synced: about 7 hours ago
Total Commits: 74
Total Committers: 17
Avg Commits per committer: 4.353
Development Distribution Score (DDS): 0.581
Commits in past year: 2
Committers in past year: 1
Avg Commits per committer in past year: 2.0
Development Distribution Score (DDS) in past year: 0.0
Name | Commits | |
---|---|---|
Abhinav Gupta | a****g@u****m | 31 |
Abhinav Gupta | m****l@a****t | 20 |
Prashant Varanasi | g****b@p****m | 4 |
Sung Yoon Whang | s****n@u****m | 3 |
Jacob Oaks | j****s@u****m | 3 |
Márk Sági-Kazár | s****k | 2 |
Arthur Befumo | 3****o | 1 |
Tom Wieczorek | t****3 | 1 |
Alexandr Burdiyan | b****n@g****m | 1 |
George Xie | g****e@x****m | 1 |
Grayson Koonce | g****e@g****m | 1 |
Jesper Lindstrøm Nielsen | j****n@g****m | 1 |
Manjari Akella | m****i@u****m | 1 |
Tsuji Daishiro | d****n@g****m | 1 |
baez90 | p****r@g****m | 1 |
ferhat elmas | e****t@g****m | 1 |
haoxin | h****t@g****m | 1 |
Issue and Pull Request metadata
Last synced: about 4 hours ago
Package metadata
- Total packages: 2
- Total downloads: unknown
- Total docker downloads: 44,328,948,964
- Total dependent packages: 28,729 (may contain duplicates)
- Total dependent repositories: 117,304 (may contain duplicates)
- Total versions: 28
go: go.uber.org/multierr
Package multierr allows combining one or more errors together. Errors can be combined with the use of the Combine function. If only two errors are being combined, the Append function may be used instead. The underlying list of errors for a returned error object may be retrieved with the Errors function. You sometimes need to append into an error from a loop. Cases like this may require knowledge of whether an individual instance failed. This usually requires introduction of a new variable. multierr includes AppendInto to simplify cases like this. This will append the error into the err variable, and return true if that individual error was non-nil. See AppendInto for more information. Go makes it possible to modify the return value of a function in a defer block if the function was using named returns. This makes it possible to record resource cleanup failures from deferred blocks. multierr provides the Invoker type and AppendInvoke function to make cases like the above simpler and obviate the need for a closure. The following is roughly equivalent to the example above. See AppendInvoke and Invoker for more information. NOTE: If you're modifying an error from inside a defer, you MUST use a named return value for that function. Errors returned by Combine and Append MAY implement the following interface. Note that if you need access to list of errors behind a multierr error, you should prefer using the Errors function. That said, if you need cheap read-only access to the underlying errors slice, you can attempt to cast the error to this interface. You MUST handle the failure case gracefully because errors returned by Combine and Append are not guaranteed to implement this interface.
- Homepage: https://github.com/uber-go/multierr
- Documentation: https://pkg.go.dev/go.uber.org/multierr#section-documentation
- Licenses: MIT
- Latest release: v1.11.0 (published over 1 year ago)
- Last Synced: 2024-11-09T20:02:23.347Z (about 8 hours ago)
- Versions: 14
- Dependent Packages: 28,728
- Dependent Repositories: 117,290
- Docker Downloads: 44,328,948,911
-
Rankings:
- Dependent packages count: 0.004%
- Dependent repos count: 0.007%
- Docker downloads count: 0.01%
- Average: 1.196%
- Stargazers count: 2.186%
- Forks count: 3.772%
go: github.com/uber-go/multierr
Package multierr allows combining one or more errors together. Errors can be combined with the use of the Combine function. If only two errors are being combined, the Append function may be used instead. This makes it possible to record resource cleanup failures from deferred blocks with the help of named return values. The underlying list of errors for a returned error object may be retrieved with the Errors function. Errors returned by Combine and Append MAY implement the following interface. Note that if you need access to list of errors behind a multierr error, you should prefer using the Errors function. That said, if you need cheap read-only access to the underlying errors slice, you can attempt to cast the error to this interface. You MUST handle the failure case gracefully because errors returned by Combine and Append are not guaranteed to implement this interface.
- Homepage: https://github.com/uber-go/multierr
- Documentation: https://pkg.go.dev/github.com/uber-go/multierr#section-documentation
- Licenses: MIT
- Latest release: v1.11.0 (published over 1 year ago)
- Last Synced: 2024-11-09T00:05:54.608Z (1 day ago)
- Versions: 14
- Dependent Packages: 1
- Dependent Repositories: 14
- Docker Downloads: 53
-
Rankings:
- Dependent repos count: 1.426%
- Stargazers count: 2.241%
- Average: 3.334%
- Forks count: 3.863%
- Dependent packages count: 5.807%
Dependencies
- github.com/davecgh/go-spew v1.1.1
- github.com/pmezard/go-difflib v1.0.0
- github.com/stretchr/testify v1.7.0
- go.uber.org/atomic v1.7.0
- gopkg.in/yaml.v3 v3.0.1
- github.com/davecgh/go-spew v1.1.0
- github.com/davecgh/go-spew v1.1.1
- github.com/pmezard/go-difflib v1.0.0
- github.com/stretchr/objx v0.1.0
- github.com/stretchr/testify v1.3.0
- github.com/stretchr/testify v1.7.0
- go.uber.org/atomic v1.7.0
- gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
- gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
- gopkg.in/yaml.v3 v3.0.1
- github.com/BurntSushi/toml v1.0.0
- golang.org/x/exp/typeparams v0.0.0-20220314205449-43aec2f8a4e7
- golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5
- golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3
- golang.org/x/sys v0.0.0-20220315194320-039c03cc5b86
- golang.org/x/tools v0.1.10
- golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
- honnef.co/go/tools v0.3.0-0.dev.0.20220306074811-23e1086441d2
- github.com/BurntSushi/toml v0.4.1
- github.com/BurntSushi/toml v1.0.0
- github.com/yuin/goldmark v1.4.1
- golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
- golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550
- golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
- golang.org/x/exp/typeparams v0.0.0-20220218215828-6cf2b201936e
- golang.org/x/exp/typeparams v0.0.0-20220314205449-43aec2f8a4e7
- golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5
- golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee
- golang.org/x/mod v0.5.1
- golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3
- golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3
- golang.org/x/net v0.0.0-20190620200207-3b0461eec859
- golang.org/x/net v0.0.0-20210226172049-e18ecbb05110
- golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f
- golang.org/x/sync v0.0.0-20190423024810-112230192c58
- golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
- golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a
- golang.org/x/sys v0.0.0-20190412213103-97732733099d
- golang.org/x/sys v0.0.0-20201119102817-f84b799fce68
- golang.org/x/sys v0.0.0-20210423082822-04245dca01da
- golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1
- golang.org/x/sys v0.0.0-20211019181941-9d821ace8654
- golang.org/x/sys v0.0.0-20220315194320-039c03cc5b86
- golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1
- golang.org/x/text v0.3.0
- golang.org/x/text v0.3.3
- golang.org/x/text v0.3.6
- golang.org/x/text v0.3.7
- golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e
- golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e
- golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7
- golang.org/x/tools v0.1.8
- golang.org/x/tools v0.1.10
- golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7
- golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898
- golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
- honnef.co/go/tools v0.3.0-0.dev.0.20220306074811-23e1086441d2
- actions/checkout v2 composite
- fossas/fossa-action v1 composite
- actions/cache v1 composite
- actions/checkout v2 composite
- actions/setup-go v2 composite
- codecov/codecov-action v1 composite