{"id":25995042,"url":"https://github.com/itcomusic/protowrap","last_synced_at":"2026-05-27T13:38:26.734Z","repository":{"id":140191675,"uuid":"513134167","full_name":"itcomusic/protowrap","owner":"itcomusic","description":"Helpers functions wrapperspb","archived":false,"fork":false,"pushed_at":"2022-07-20T14:12:55.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-21T03:17:00.772Z","etag":null,"topics":["go","golang","pointer","proto","protobuf","wrapperspb"],"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/itcomusic.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}},"created_at":"2022-07-12T12:31:09.000Z","updated_at":"2022-09-16T08:14:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"fdcb1ab4-949c-4623-bc26-e779d14d02d7","html_url":"https://github.com/itcomusic/protowrap","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itcomusic%2Fprotowrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itcomusic%2Fprotowrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itcomusic%2Fprotowrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itcomusic%2Fprotowrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itcomusic","download_url":"https://codeload.github.com/itcomusic/protowrap/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242048559,"owners_count":20063404,"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","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":["go","golang","pointer","proto","protobuf","wrapperspb"],"created_at":"2025-03-05T15:18:27.780Z","updated_at":"2026-05-27T13:38:21.713Z","avatar_url":"https://github.com/itcomusic.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Protobuf wrapperspb helpers\n\n[![pkg-img]][pkg-url]\n[![coverage-img]][coverage-url]\n\nProvides helpers functions converting [wrapperspb](https://pkg.go.dev/google.golang.org/protobuf/types/known/wrapperspb)\n\n## Installation\nGo version 1.18+\n```bash\ngo get github.com/itcomusic/protowrap\n```\n\n## Usage\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"google.golang.org/protobuf/types/known/wrapperspb\"\n\n\t\"github.com/itcomusic/protowrap\"\n)\n\nfunc main() {\n\ti := protowrap.IntF32V[int](\u0026wrapperspb.Int32Value{Value: 1})\n\tfmt.Println(*i) // 1\n\n\tints := protowrap.Ints[int]([]int32{1, 2, 3})\n\tfmt.Println(ints) // [1, 2, 3]\n\n\twi32 := protowrap.Int32Value(i)\n\tfmt.Println(wi32) // value:1\n}\n```\n\n[pkg-img]: https://pkg.go.dev/badge/github.com/itcomusic/protowrap.svg\n[pkg-url]: https://pkg.go.dev/github.com/itcomusic/protowrap\n[coverage-img]: https://codecov.io/gh/itcomusic/protowrap/branch/main/graph/badge.svg\n[coverage-url]: https://codecov.io/gh/itcomusic/protowrap","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitcomusic%2Fprotowrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitcomusic%2Fprotowrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitcomusic%2Fprotowrap/lists"}