{"id":64933,"library":"near-borsh-go","title":"Borsh Serialization for Go","description":"Implements the Borsh binary serialization format for Go, used in NEAR Protocol.","status":"active","version":"0.3.1","language":"go","source_language":null,"source_url":"https://github.com/near/borsh-go","tags":["serialization","borsh","near","binary"],"install":[{"cmd":"go get github.com/near/borsh-go","lang":"bash","label":"Install github.com/near/borsh-go"}],"dependencies":[],"imports":[{"symbol":"borsh","correct":"github.com/near/borsh-go"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/near/borsh-go\"\n)\n\ntype Example struct {\n\tX uint64\n\tY string\n}\n\nfunc main() {\n\tdata, _ := borsh.Serialize(Example{X: 1, Y: \"hello\"})\n\tfmt.Println(data)\n}","lang":"go","description":"Serializes a struct using Borsh binary format."},"warnings":[],"env_vars":null,"search_vec":"'binari':8,20 'borsh':1,7,18 'format':10 'go':4,12 'implement':5 'near':15,19 'protocol':16 'serial':2,9,17 'use':13","created_at":"2026-06-17T17:02:16.513816+00:00","updated_at":"2026-06-17T17:02:16.513816+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/near/borsh-go","github":"https://github.com/near/borsh-go","docs":"https://pkg.go.dev/github.com/near/borsh-go#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}