{"id":36782958,"url":"https://github.com/gopherlibs/winpkg","last_synced_at":"2026-01-12T13:18:36.918Z","repository":{"id":59044997,"uuid":"529751446","full_name":"gopherlibs/winpkg","owner":"gopherlibs","description":"A Go (Golang) library for retrieving package versions from the Chocolatey API.","archived":false,"fork":false,"pushed_at":"2022-08-28T04:41:42.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"trunk","last_synced_at":"2024-06-20T17:42:07.908Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/gopherlibs.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}},"created_at":"2022-08-28T03:22:45.000Z","updated_at":"2022-08-28T04:26:20.000Z","dependencies_parsed_at":"2022-09-11T06:50:51.836Z","dependency_job_id":null,"html_url":"https://github.com/gopherlibs/winpkg","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gopherlibs/winpkg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopherlibs%2Fwinpkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopherlibs%2Fwinpkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopherlibs%2Fwinpkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopherlibs%2Fwinpkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gopherlibs","download_url":"https://codeload.github.com/gopherlibs/winpkg/tar.gz/refs/heads/trunk","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopherlibs%2Fwinpkg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-12T13:18:36.671Z","updated_at":"2026-01-12T13:18:36.896Z","avatar_url":"https://github.com/gopherlibs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# winpkg [![CI Status](https://circleci.com/gh/gopherlibs/winpkg.svg?style=shield)](https://app.circleci.com/pipelines/github/gopherlibs/winpkg) [![Go Report Card](https://goreportcard.com/badge/github.com/gopherlibs/winpkg)](https://goreportcard.com/report/github.com/gopherlibs/winpkg) [![GoDoc](https://godoc.org/github.com/gopherlibs/appindicator?status.svg)](https://godoc.org/github.com/gopherlibs/appindicator) [![Software License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/gopherlibs/winpkg/trunk/LICENSE)\n\n`winpkg` is a Go (Golang) module to pull the latest version of a Chocolatey package.\nChocolatey here is a Windows package manager.\n\n\n## Requirements\n\nThis Go module is intended to support the ~~two~~ most recent ~~minor releases~~ release of Go.\nCurrently this is Go v1.18.x and v1.19.x.\n\n\n## Installation\n\n`winpkg` is a Go module intended to be used as a library.\nSo the best way to \"install\" it is to import into your own code and then run `go mod tidy` to get the source code downloaded.\n\n```go\nimport(\n\t\"github.com/gopherlibs/winpkg/winpkg\"\n)\n```\n\n\n## Usage\n\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/gopherlibs/winpkg/winpkg\"\n)\n\nfunc main() {\n\n\t// Let's get the latest version of the 'git' package\n\tif ver, err := winpkg.GetVersion( \"git\" ); err != nil {\n\t\tfmt.Println(err)\n\t} else {\n\t\tfmt.Println(ver)\n\t}\n}\n```\n\n\n## Development\n\nThis module is written and tested with Go v1.18+ in mind.\n`go fmt` is your friend.\nPlease feel free to open Issues and PRs are you see fit.\nAny PR that requires a good amount of work or is a significant change, it would be best to open an Issue to discuss the change first.\n\n\n## License \u0026 Credits\n\nThis module was written by Ricardo N Feliciano (FelicianoTech).\nThis repository is licensed under the MIT license.\nThis repo's license can be found [here](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgopherlibs%2Fwinpkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgopherlibs%2Fwinpkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgopherlibs%2Fwinpkg/lists"}