{"id":13615765,"url":"https://github.com/uber-go/multierr","last_synced_at":"2025-05-15T17:09:15.645Z","repository":{"id":19058199,"uuid":"85069480","full_name":"uber-go/multierr","owner":"uber-go","description":"Combine one or more Go errors together","archived":false,"fork":false,"pushed_at":"2024-04-29T19:14:36.000Z","size":89,"stargazers_count":1030,"open_issues_count":2,"forks_count":41,"subscribers_count":21,"default_branch":"master","last_synced_at":"2024-10-29T11:10:00.432Z","etag":null,"topics":["errors","go","golang"],"latest_commit_sha":null,"homepage":"https://go.uber.org/multierr","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uber-go.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-15T12:25:43.000Z","updated_at":"2024-10-23T00:51:13.000Z","dependencies_parsed_at":"2023-10-12T00:59:41.763Z","dependency_job_id":"40dc8893-44ca-439a-a316-719a5a0578f6","html_url":"https://github.com/uber-go/multierr","commit_stats":{"total_commits":71,"total_committers":17,"mean_commits":4.176470588235294,"dds":0.5633802816901409,"last_synced_commit":"de75ae527b39a27afcb50a84427ec7b84021d5f4"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber-go%2Fmultierr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber-go%2Fmultierr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber-go%2Fmultierr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber-go%2Fmultierr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uber-go","download_url":"https://codeload.github.com/uber-go/multierr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254384989,"owners_count":22062422,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["errors","go","golang"],"created_at":"2024-08-01T20:01:17.602Z","updated_at":"2025-05-15T17:09:10.635Z","avatar_url":"https://github.com/uber-go.png","language":"Go","readme":"# multierr [![GoDoc][doc-img]][doc] [![Build Status][ci-img]][ci] [![Coverage Status][cov-img]][cov]\n\n`multierr` allows combining one or more Go `error`s together.\n\n## Features\n\n- **Idiomatic**:\n  multierr follows best practices in Go, and keeps your code idiomatic.\n    - It keeps the underlying error type hidden,\n      allowing you to deal in `error` values exclusively.\n    - It provides APIs to safely append into an error from a `defer` statement.\n- **Performant**:\n  multierr is optimized for performance:\n    - It avoids allocations where possible.\n    - It utilizes slice resizing semantics to optimize common cases\n      like appending into the same error object from a loop.\n- **Interoperable**:\n  multierr interoperates with the Go standard library's error APIs seamlessly:\n    - The `errors.Is` and `errors.As` functions *just work*.\n- **Lightweight**:\n  multierr comes with virtually no dependencies.\n\n## Installation\n\n```bash\ngo get -u go.uber.org/multierr@latest\n```\n\n## Status\n\nStable: No breaking changes will be made before 2.0.\n\n-------------------------------------------------------------------------------\n\nReleased under the [MIT License].\n\n[MIT License]: LICENSE.txt\n[doc-img]: https://pkg.go.dev/badge/go.uber.org/multierr\n[doc]: https://pkg.go.dev/go.uber.org/multierr\n[ci-img]: https://github.com/uber-go/multierr/actions/workflows/go.yml/badge.svg\n[cov-img]: https://codecov.io/gh/uber-go/multierr/branch/master/graph/badge.svg\n[ci]: https://github.com/uber-go/multierr/actions/workflows/go.yml\n[cov]: https://codecov.io/gh/uber-go/multierr\n","funding_links":[],"categories":["Error Handling","Go","Recently Updated","错误处理"],"sub_categories":["Search and Analytic Databases","[Sep 04, 2024](/content/2024/09/04/README.md)","检索及分析资料库"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuber-go%2Fmultierr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuber-go%2Fmultierr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuber-go%2Fmultierr/lists"}