{"id":24200379,"url":"https://github.com/d0x7/go-interval-notation","last_synced_at":"2025-10-07T12:02:40.604Z","repository":{"id":181905485,"uuid":"667641414","full_name":"d0x7/go-interval-notation","owner":"d0x7","description":"Go library to parse interval notations, e.g. [v1.2,] or [v1,v3)","archived":false,"fork":false,"pushed_at":"2024-12-13T09:31:39.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-13T22:26:35.048Z","etag":null,"topics":["interval","interval-notation","library","notation","versioning","versioning-semantics"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/d0x7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-07-18T01:40:34.000Z","updated_at":"2024-12-13T09:31:42.000Z","dependencies_parsed_at":"2024-12-13T10:30:49.516Z","dependency_job_id":"fa97c584-c744-403c-b218-fabe72bb5ea8","html_url":"https://github.com/d0x7/go-interval-notation","commit_stats":null,"previous_names":["d0x7/go-interval-notation"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/d0x7/go-interval-notation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d0x7%2Fgo-interval-notation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d0x7%2Fgo-interval-notation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d0x7%2Fgo-interval-notation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d0x7%2Fgo-interval-notation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d0x7","download_url":"https://codeload.github.com/d0x7/go-interval-notation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d0x7%2Fgo-interval-notation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278770726,"owners_count":26042828,"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-07T02:00:06.786Z","response_time":59,"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"}},"keywords":["interval","interval-notation","library","notation","versioning","versioning-semantics"],"created_at":"2025-01-13T20:50:16.706Z","updated_at":"2025-10-07T12:02:40.550Z","avatar_url":"https://github.com/d0x7.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Interval Notation\n\nThis library is used to parse interval notations (e.g. `[v1.2,]` or `[v1,v3)`) for versions in Go. The following format of versions are supported:  \n- 1\n- 1.2\n- 1.2.3\n- SemanticVersioning\n- Addtionally every version prefixed with a 'v'.\n\nFor actually parsing the version and comparing them, it's using [SemVer from @Masterminds](https://github.com/Masterminds/semver)\n\n## Usage\n\nFirst use `go get` to import the package:\n```bash\ngo get xiam.li/interval-notation\n```\n\nAfterwards you can use like this:\n```go\npackage main\n\nimport \"xiam.li/interval-notation\"\n\nfunc main() {\n  interval_notation.InRange(\"[v1,v2]\", \"v1.5.3\") // == true\n  interval_notation.InRange(\"[v1,v2]\", \"v2.5.3\") // == false\n}\n```\n\n## License\n\n[MIT](LICENSE) © 2023 Dorian Heinrichs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd0x7%2Fgo-interval-notation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd0x7%2Fgo-interval-notation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd0x7%2Fgo-interval-notation/lists"}