{"id":27299867,"url":"https://github.com/clavoie/binu","last_synced_at":"2026-06-10T16:31:01.058Z","repository":{"id":73552457,"uuid":"146596988","full_name":"clavoie/binu","owner":"clavoie","description":"Binary / byte utilities for Go","archived":false,"fork":false,"pushed_at":"2018-08-29T13:08:59.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T08:27:42.373Z","etag":null,"topics":["go","gob","golang","utilities"],"latest_commit_sha":null,"homepage":null,"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/clavoie.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}},"created_at":"2018-08-29T12:32:02.000Z","updated_at":"2018-08-29T13:10:00.000Z","dependencies_parsed_at":"2023-02-25T15:45:29.982Z","dependency_job_id":null,"html_url":"https://github.com/clavoie/binu","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/clavoie/binu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clavoie%2Fbinu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clavoie%2Fbinu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clavoie%2Fbinu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clavoie%2Fbinu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clavoie","download_url":"https://codeload.github.com/clavoie/binu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clavoie%2Fbinu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34161283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":["go","gob","golang","utilities"],"created_at":"2025-04-12T00:49:50.144Z","updated_at":"2026-06-10T16:31:01.053Z","avatar_url":"https://github.com/clavoie.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# binu [![GoDoc](https://godoc.org/github.com/clavoie/erru?status.svg)](http://godoc.org/github.com/clavoie/erru) [![Build Status](https://travis-ci.org/clavoie/erru.svg?branch=master)](https://travis-ci.org/clavoie/erru) [![codecov](https://codecov.io/gh/clavoie/erru/branch/master/graph/badge.svg)](https://codecov.io/gh/clavoie/erru) [![Go Report Card](https://goreportcard.com/badge/github.com/clavoie/erru)](https://goreportcard.com/report/github.com/clavoie/erru)\n\nBinary / byte utilities for Go.\n\nCurrently this package is just a wrapper around the encoding/gob package, with hooks\nfor dependency injection.\n\n```go\ntype Foo struct {\n  Value int\n}\n\nfoo := \u0026Foo{10}\nbytes, err := binu.ToGob(foo)\n\n// if err etc\n\nnewFoo := new(Foo)\nerr = binu.FromGob(bytes, newFoo)\n\n// if err etc\n// newFoo.Value == foo.Value\n```\n\nIf you'd prefer to use dependency injection:\n\n```go\nfunc Serialize(gobber binu.Gobber) error {\n  err := gobber.To(value)\n\n  // etc\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclavoie%2Fbinu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclavoie%2Fbinu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclavoie%2Fbinu/lists"}