{"id":232,"name":"github.com/TheAlgorithms/Go","ecosystem":"go","description":"","homepage":"https://github.com/TheAlgorithms/Go","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/TheAlgorithms/Go","keywords_array":[],"namespace":"github.com/TheAlgorithms","versions_count":4,"first_release_published_at":"2021-09-07T10:44:53.000Z","latest_release_published_at":"2021-02-18T10:49:22.000Z","latest_release_number":"v0.0.1","last_synced_at":"2026-05-29T11:57:35.806Z","created_at":"2022-04-04T17:17:36.714Z","updated_at":"2026-05-29T11:57:35.806Z","registry_url":"https://pkg.go.dev/github.com/TheAlgorithms/Go","install_command":"go get github.com/TheAlgorithms/Go","documentation_url":"https://pkg.go.dev/github.com/TheAlgorithms/Go#section-documentation","metadata":{},"repo_metadata":{"id":37379398,"uuid":"66156850","full_name":"TheAlgorithms/Go","owner":"TheAlgorithms","description":"Algorithms and Data Structures implemented in Go for beginners, following best practices.","archived":false,"fork":false,"pushed_at":"2025-09-08T19:56:01.000Z","size":2619,"stargazers_count":17339,"open_issues_count":11,"forks_count":2741,"subscribers_count":298,"default_branch":"master","last_synced_at":"2025-09-16T19:17:21.766Z","etag":null,"topics":["algorithms","algorithms-implemented","community-driven","data-structures","datastructures","hacktoberfest","interview","interview-preparation","preparation","search","sorting"],"latest_commit_sha":null,"homepage":"https://the-algorithms.com/language/go","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/TheAlgorithms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":"TheAlgorithms","issuehunt":null,"otechie":null,"custom":null}},"created_at":"2016-08-20T16:32:12.000Z","updated_at":"2025-09-16T18:28:08.000Z","dependencies_parsed_at":"2023-02-11T13:01:01.477Z","dependency_job_id":"e0a57fc1-d710-43e1-a67b-d916d694a1f8","html_url":"https://github.com/TheAlgorithms/Go","commit_stats":{"total_commits":531,"total_committers":189,"mean_commits":"2.8095238095238093","dds":0.9077212806026366,"last_synced_commit":"e64d1f5b3ea70a7f183f72bae57843e690c68952"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/TheAlgorithms/Go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FGo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FGo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FGo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FGo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheAlgorithms","download_url":"https://codeload.github.com/TheAlgorithms/Go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FGo/sbom","scorecard":{"id":139789,"data":{"date":"2025-08-11","repo":{"name":"github.com/TheAlgorithms/Go","commit":"5ba447ec5ff3d1213de65b92e726ee74c5d5cc19"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.6,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/citk.yml:1","Warn: no topLevel permission defined: .github/workflows/godocmd.yml:1","Warn: no topLevel permission defined: .github/workflows/stale.yml:1","Warn: no topLevel permission defined: .github/workflows/upload_coverage_report.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Fuzzing","score":10,"reason":"project is fuzzed","details":["Info: GoBuiltInFuzzer integration found: cipher/caesar/caesar_test.go:158","Info: GoBuiltInFuzzer integration found: cipher/polybius/polybius_test.go:154","Info: GoBuiltInFuzzer integration found: cipher/rot13/rot13_test.go:72","Info: GoBuiltInFuzzer integration found: cipher/rsa/rsa_test.go:79","Info: GoBuiltInFuzzer integration found: cipher/transposition/transposition_test.go:103","Info: GoBuiltInFuzzer integration found: cipher/xor/xor_test.go:108","Info: GoBuiltInFuzzer integration found: conversion/base64_test.go:113"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":1,"reason":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/Go/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/Go/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/Go/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/Go/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/Go/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/citk.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/Go/citk.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/citk.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/Go/citk.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/godocmd.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/Go/godocmd.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/godocmd.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/Go/godocmd.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/Go/stale.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/upload_coverage_report.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/Go/upload_coverage_report.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/upload_coverage_report.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/Go/upload_coverage_report.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/upload_coverage_report.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/Go/upload_coverage_report.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/upload_coverage_report.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/TheAlgorithms/Go/upload_coverage_report.yml/master?enable=pin","Warn: containerImage not pinned by hash: .gitpod.dockerfile:1: pin your Docker image by updating gitpod/workspace-go to gitpod/workspace-go@sha256:08a7c684831db627751aa03b78179456c11497dcfa6de8d7d46a9b119fc0123a","Warn: goCommand not pinned by hash: .github/workflows/citk.yml:25","Info:   0 out of  10 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   1 out of   2 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T07:41:02.422Z","repository_id":37379398,"created_at":"2025-08-16T07:41:02.423Z","updated_at":"2025-08-16T07:41:02.423Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016574,"owners_count":26085850,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"},"owner_record":{"login":"TheAlgorithms","name":"The Algorithms","uuid":"20487725","kind":"organization","description":"Open Source resource for learning Data Structures \u0026 Algorithms and their implementation in any Programming Language","email":"hello@the-algorithms.com","website":"https://the-algorithms.com/","location":"India","twitter":"the_algorithms","company":null,"icon_url":"https://avatars.githubusercontent.com/u/20487725?v=4","repositories_count":48,"last_synced_at":"2024-10-29T20:08:23.955Z","metadata":{"has_sponsors_listing":false,"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":"TheAlgorithms","issuehunt":null,"otechie":null,"custom":null}},"html_url":"https://github.com/TheAlgorithms","funding_links":["https://liberapay.com/TheAlgorithms"],"total_stars":370623,"followers":42583,"following":0,"created_at":"2022-11-14T05:56:19.782Z","updated_at":"2024-10-29T20:08:23.955Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheAlgorithms","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheAlgorithms/repositories"},"tags":[{"name":"v0.0.3-alpha","sha":"ec28323411dc5381c897fc49703f8ba1974c5536","kind":"commit","published_at":"2021-11-09T19:12:47.000Z","download_url":"https://codeload.github.com/TheAlgorithms/Go/tar.gz/v0.0.3-alpha","html_url":"https://github.com/TheAlgorithms/Go/releases/tag/v0.0.3-alpha","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/TheAlgorithms/Go@v0.0.3-alpha","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FGo/tags/v0.0.3-alpha","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FGo/tags/v0.0.3-alpha/manifests"},{"name":"v0.0.2-alpha","sha":"8cfdb2f00c17e5a8776b42218446149d6733c9e1","kind":"commit","published_at":"2021-09-08T05:17:49.000Z","download_url":"https://codeload.github.com/TheAlgorithms/Go/tar.gz/v0.0.2-alpha","html_url":"https://github.com/TheAlgorithms/Go/releases/tag/v0.0.2-alpha","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/TheAlgorithms/Go@v0.0.2-alpha","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FGo/tags/v0.0.2-alpha","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FGo/tags/v0.0.2-alpha/manifests"},{"name":"v0.0.1-alpha","sha":"59b98b82a5ccc5682a949bfc2c15a13805db0568","kind":"commit","published_at":"2021-09-07T10:44:53.000Z","download_url":"https://codeload.github.com/TheAlgorithms/Go/tar.gz/v0.0.1-alpha","html_url":"https://github.com/TheAlgorithms/Go/releases/tag/v0.0.1-alpha","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/TheAlgorithms/Go@v0.0.1-alpha","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FGo/tags/v0.0.1-alpha","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FGo/tags/v0.0.1-alpha/manifests"}]},"repo_metadata_updated_at":"2025-10-24T17:26:40.959Z","dependent_packages_count":1,"downloads":null,"downloads_period":null,"dependent_repos_count":1,"rankings":{"downloads":null,"dependent_repos_count":4.8022212791057335,"dependent_packages_count":8.376244562665123,"stargazers_count":0.5501777750375075,"forks_count":0.5082516390241898,"docker_downloads_count":null,"average":3.5592238139581385},"purl":"pkg:golang/github.com/%21the%21algorithms/%21go","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/TheAlgorithms/Go","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/TheAlgorithms/Go","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/TheAlgorithms/Go/dependencies","status":null,"funding_links":["https://liberapay.com/TheAlgorithms"],"critical":null,"issue_metadata":{"last_synced_at":"2025-09-19T15:42:13.041Z","issues_count":24,"pull_requests_count":276,"avg_time_to_close_issue":2388605.8235294116,"avg_time_to_close_pull_request":2153787.2,"issues_closed_count":17,"pull_requests_closed_count":255,"pull_request_authors_count":115,"issue_authors_count":22,"avg_comments_per_issue":3.0833333333333335,"avg_comments_per_pull_request":1.8297101449275361,"merged_pull_requests_count":150,"bot_issues_count":0,"bot_pull_requests_count":7,"past_year_issues_count":4,"past_year_pull_requests_count":74,"past_year_avg_time_to_close_issue":3033951.0,"past_year_avg_time_to_close_pull_request":2992808.0303030303,"past_year_issues_closed_count":3,"past_year_pull_requests_closed_count":66,"past_year_pull_request_authors_count":19,"past_year_issue_authors_count":4,"past_year_avg_comments_per_issue":1.75,"past_year_avg_comments_per_pull_request":1.7567567567567568,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":7,"past_year_merged_pull_requests_count":26,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FGo/issues","maintainers":[{"login":"vil02","count":17,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/vil02"},{"login":"tjgurwara99","count":7,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/tjgurwara99"},{"login":"Panquesito7","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Panquesito7"},{"login":"raklaptudirm","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/raklaptudirm"},{"login":"cclauss","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/cclauss"},{"login":"siriak","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/siriak"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2FTheAlgorithms%2FGo/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2FTheAlgorithms%2FGo/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2FTheAlgorithms%2FGo/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2FTheAlgorithms%2FGo/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2FTheAlgorithms%2FGo/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2FTheAlgorithms%2FGo/codemeta","maintainers":[]}