{"id":3500808,"name":"github.com/issue9/version","ecosystem":"go","description":"Package version 是一个通用的版本号解析工具，可以一个版本号字符串解析到一个结构体中。","homepage":"https://github.com/issue9/version","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/issue9/version","keywords_array":[],"namespace":"github.com/issue9","versions_count":10,"first_release_published_at":"2018-09-04T14:16:29.000Z","latest_release_published_at":"2025-09-10T06:27:38.000Z","latest_release_number":"v1.0.9","latest_published_release_number":null,"last_synced_at":"2026-10-17T12:27:49.694Z","created_at":"2022-04-10T20:08:31.060Z","updated_at":"2026-10-17T12:27:49.695Z","registry_url":"https://pkg.go.dev/github.com/issue9/version","install_command":"go get github.com/issue9/version","documentation_url":"https://pkg.go.dev/github.com/issue9/version#section-documentation","metadata":{},"repo_metadata":{"id":57481589,"uuid":"61288751","full_name":"issue9/version","owner":"issue9","description":"Go 的版本号解析，通过定义 struct tag 可以实现大部分版本号解析，比如 semver","archived":false,"fork":false,"pushed_at":"2026-03-30T04:56:11.000Z","size":48,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-03-30T06:58:26.595Z","etag":null,"topics":["go","golang","semver","version"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/issue9/version","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/issue9.png","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,"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}},"created_at":"2016-06-16T11:51:54.000Z","updated_at":"2026-03-30T04:56:14.000Z","dependencies_parsed_at":"2023-11-21T05:39:15.459Z","dependency_job_id":"82491639-d8a7-45ef-89ab-a80082977376","html_url":"https://github.com/issue9/version","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/issue9/version","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/issue9","download_url":"https://codeload.github.com/issue9/version/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/sbom","scorecard":{"id":496243,"data":{"date":"2025-08-11","repo":{"name":"github.com/issue9/version","commit":"1f7a0101e1b70e71d1844d6495dc284a43056fb3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.1,"checks":[{"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":"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":"Maintained","score":0,"reason":"0 commit(s) and 0 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/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/go.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":"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":"SAST","score":10,"reason":"SAST tool detected: CodeQL","details":["Info: SAST configuration detected: CodeQL","Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/issue9/version/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/issue9/version/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/issue9/version/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/issue9/version/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/issue9/version/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/issue9/version/go.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/issue9/version/go.yml/master?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction 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":"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":"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":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"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":"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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"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"}}]},"last_synced_at":"2025-08-19T20:28:55.003Z","repository_id":57481589,"created_at":"2025-08-19T20:28:55.003Z","updated_at":"2025-08-19T20:28:55.003Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":37002718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-08-31T02:00:07.497Z","response_time":119,"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":"issue9","name":"issue9","uuid":"10239056","kind":"organization","description":"Go 的一些常用包","email":null,"website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/10239056?v=4","repositories_count":43,"last_synced_at":"2024-04-23T11:34:03.475Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/issue9","funding_links":[],"total_stars":716,"followers":9,"following":0,"created_at":"2022-11-10T19:19:35.643Z","updated_at":"2024-04-23T11:34:26.421Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/issue9","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/issue9/repositories"},"tags":[{"name":"v1.0.9","sha":"e428a50501e47a5b4447776a7cfdc1e852b1b385","kind":"commit","published_at":"2025-09-10T06:27:38.000Z","download_url":"https://codeload.github.com/issue9/version/tar.gz/v1.0.9","html_url":"https://github.com/issue9/version/releases/tag/v1.0.9","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/issue9/version@v1.0.9","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/tags/v1.0.9","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/tags/v1.0.9/manifests"},{"name":"v1.0.8","sha":"b63382881aaf0912e0d4f7bcb7f05c5736e23ec5","kind":"commit","published_at":"2024-02-28T02:48:32.000Z","download_url":"https://codeload.github.com/issue9/version/tar.gz/v1.0.8","html_url":"https://github.com/issue9/version/releases/tag/v1.0.8","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/issue9/version@v1.0.8","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/tags/v1.0.8","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/tags/v1.0.8/manifests"},{"name":"v1.0.7","sha":"be3ddcc37ba04f2f8a7dbba8dbb6747bf7f1f3e7","kind":"commit","published_at":"2023-11-21T04:56:42.000Z","download_url":"https://codeload.github.com/issue9/version/tar.gz/v1.0.7","html_url":"https://github.com/issue9/version/releases/tag/v1.0.7","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/issue9/version@v1.0.7","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/tags/v1.0.7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/tags/v1.0.7/manifests"},{"name":"v1.0.6","sha":"34295fcb976ed91f83dd5e21538175bb59057169","kind":"commit","published_at":"2022-08-13T04:44:26.000Z","download_url":"https://codeload.github.com/issue9/version/tar.gz/v1.0.6","html_url":"https://github.com/issue9/version/releases/tag/v1.0.6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/issue9/version@v1.0.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/tags/v1.0.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/tags/v1.0.6/manifests"},{"name":"v1.0.5","sha":"39d20aef5daef0cc5415ac3ff6bf9dba461ff31a","kind":"commit","published_at":"2021-11-24T23:15:15.000Z","download_url":"https://codeload.github.com/issue9/version/tar.gz/v1.0.5","html_url":"https://github.com/issue9/version/releases/tag/v1.0.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/issue9/version@v1.0.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/tags/v1.0.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/tags/v1.0.5/manifests"},{"name":"v1.0.4","sha":"f671846882fdc888d1ce9fc63e5813a3885c173c","kind":"commit","published_at":"2020-06-06T04:56:59.000Z","download_url":"https://codeload.github.com/issue9/version/tar.gz/v1.0.4","html_url":"https://github.com/issue9/version/releases/tag/v1.0.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/issue9/version@v1.0.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/tags/v1.0.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/tags/v1.0.4/manifests"},{"name":"v1.0.3","sha":"c76f5d976e2906f9f768c7bdf5f3398cef3c6c8a","kind":"commit","published_at":"2019-06-15T14:53:08.000Z","download_url":"https://codeload.github.com/issue9/version/tar.gz/v1.0.3","html_url":"https://github.com/issue9/version/releases/tag/v1.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/issue9/version@v1.0.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/tags/v1.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/tags/v1.0.3/manifests"},{"name":"v1.0.2","sha":"11772f80338c326d19af599c771ce2fc552d5c5b","kind":"commit","published_at":"2019-02-27T11:30:52.000Z","download_url":"https://codeload.github.com/issue9/version/tar.gz/v1.0.2","html_url":"https://github.com/issue9/version/releases/tag/v1.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/issue9/version@v1.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/tags/v1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/tags/v1.0.2/manifests"},{"name":"v1.0.1","sha":"88f2cef03ffe8febfb8cc47a44fd2bdc31b6ccbb","kind":"commit","published_at":"2019-01-09T15:31:04.000Z","download_url":"https://codeload.github.com/issue9/version/tar.gz/v1.0.1","html_url":"https://github.com/issue9/version/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/issue9/version@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"2c7a326c8ee60b63cc03cd787a7f4c66f5b4d50c","kind":"commit","published_at":"2018-09-04T14:16:29.000Z","download_url":"https://codeload.github.com/issue9/version/tar.gz/v1.0.0","html_url":"https://github.com/issue9/version/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/issue9/version@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-08-31T15:05:18.885Z","dependent_packages_count":8,"downloads":null,"downloads_period":null,"dependent_repos_count":3,"rankings":{"downloads":null,"dependent_repos_count":2.891926484410935,"dependent_packages_count":1.888986660800352,"stargazers_count":10.41807491550507,"forks_count":9.012959222446653,"docker_downloads_count":null,"average":6.0529868207907525},"purl":"pkg:golang/github.com/issue9/version","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/issue9/version","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/issue9/version","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/issue9/version/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2023-05-29T12:12:38.175Z","issues_count":0,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"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,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fversion/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fissue9%2Fversion/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fissue9%2Fversion/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fissue9%2Fversion/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fissue9%2Fversion/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fissue9%2Fversion/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fissue9%2Fversion/codemeta","maintainers":[]}