{"id":3494832,"name":"github.com/facebookgo/stack","ecosystem":"go","description":"Package stack provides utilities to capture and pass around stack traces.\n\nThis is useful for building errors that know where they originated from, to\ntrack where a certain log event occured and so on.\n\nThe package provides stack.Multi which represents a sequence of stack\ntraces. Since in Go we return errors they don't necessarily end up with a\nsingle useful stack trace. For example an error may be going thru a channel\nacross goroutines, in which case we may want to capture a stack trace in\nboth (or many) goroutines. stack.Multi in turn is made up of stack.Stack,\nwhich is a set of stack.Frames. Each stack.Frame contains the File/Line/Name\n(function name). All these types implement a pretty human readable String()\nfunction.\n\nThe GOPATH is stripped from the File location. Look at the StripGOPATH\nfunction on instructions for how to embed to GOPATH into the binary for when\ndeploying to production and the GOPATH environment variable may not be set.\nThe package name is stripped from the Name of the function since it included\nin the File location.","homepage":"https://github.com/facebookgo/stack","licenses":"BSD-3-Clause","normalized_licenses":["BSD-3-Clause"],"repository_url":"https://github.com/facebookgo/stack","keywords_array":[],"namespace":"github.com/facebookgo","versions_count":1,"first_release_published_at":"2016-02-09T18:44:15.000Z","latest_release_published_at":"2016-02-09T18:44:15.000Z","latest_release_number":"v0.0.0-20160209184415-751773369052","last_synced_at":"2026-03-25T03:24:24.543Z","created_at":"2022-04-10T19:29:35.407Z","updated_at":"2026-03-25T03:24:24.543Z","registry_url":"https://pkg.go.dev/github.com/facebookgo/stack","install_command":"go get github.com/facebookgo/stack","documentation_url":"https://pkg.go.dev/github.com/facebookgo/stack#section-documentation","metadata":{},"repo_metadata":{"uuid":"19152132","full_name":"facebookarchive/stack","owner":"facebookarchive","description":"Package stack provides utilities to capture and pass around stack traces.","archived":true,"fork":false,"pushed_at":"2016-02-09T18:44:23.000Z","size":13,"stargazers_count":99,"open_issues_count":0,"forks_count":20,"subscribers_count":10,"default_branch":"master","last_synced_at":"2023-03-13T15:48:33.769Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"logo_url":null,"metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-25T16:09:08.000Z","updated_at":"2023-01-28T20:33:28.000Z","dependencies_parsed_at":"2022-09-15T18:11:39.914Z","dependency_job_id":null,"html_url":"https://github.com/facebookarchive/stack","commit_stats":null,"repository_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/facebookarchive%2Fstack","tags_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/facebookarchive%2Fstack/tags","manifests_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/facebookarchive%2Fstack/manifests","owner_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/facebookarchive","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":108921946,"host_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names"},"owner_record":{"login":"facebookarchive","name":"Meta Archive","uuid":"7560860","kind":"organization","description":"These projects have been archived and are generally unsupported, but are still available to view and use","email":null,"website":"https://opensource.fb.com","location":null,"twitter":null,"company":null,"avatar_url":"https://avatars.githubusercontent.com/u/7560860?v=4","repositories_count":340,"last_synced_at":"2023-02-20T00:26:30.260Z","metadata":{"has_sponsors_listing":false},"owner_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/facebookarchive"},"tags":[]},"repo_metadata_updated_at":"2023-03-21T18:38:28.304Z","dependent_packages_count":1876,"downloads":null,"downloads_period":null,"dependent_repos_count":6281,"rankings":{"downloads":null,"dependent_repos_count":0.09824515207551611,"dependent_packages_count":0.09405601868752457,"stargazers_count":4.650735990839762,"forks_count":4.998932768398774,"docker_downloads_count":0.325854732823057,"average":2.0335649325649268},"purl":"pkg:golang/github.com/facebookgo/stack","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/facebookgo/stack","docker_dependents_count":45,"docker_downloads_count":49096479,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/facebookgo/stack","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/facebookgo/stack/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2023-05-29T00:06:25.860Z","issues_count":0,"pull_requests_count":1,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":215401.0,"issues_closed_count":0,"pull_requests_closed_count":1,"pull_request_authors_count":1,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":4.0,"merged_pull_requests_count":1,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Ffacebookgo%2Fstack/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Ffacebookgo%2Fstack/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Ffacebookgo%2Fstack/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Ffacebookgo%2Fstack/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Ffacebookgo%2Fstack/codemeta","maintainers":[]}