{"id":22059243,"url":"https://github.com/opentable/hy","last_synced_at":"2025-06-19T06:37:51.417Z","repository":{"id":66075958,"uuid":"65562431","full_name":"opentable/hy","owner":"opentable","description":"Store struct data in files.","archived":false,"fork":false,"pushed_at":"2016-08-20T15:25:43.000Z","size":205,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-01-28T23:09:50.949Z","etag":null,"topics":[],"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/opentable.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":"2016-08-12T15:13:37.000Z","updated_at":"2016-08-12T15:14:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"8374d669-7e6d-4603-a2a3-f3374db8c12f","html_url":"https://github.com/opentable/hy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentable%2Fhy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentable%2Fhy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentable%2Fhy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentable%2Fhy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opentable","download_url":"https://codeload.github.com/opentable/hy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245136405,"owners_count":20566588,"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":[],"created_at":"2024-11-30T17:27:42.241Z","updated_at":"2025-03-23T17:13:22.325Z","avatar_url":"https://github.com/opentable.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hy: hierarchical files\n\n[![CircleCI](https://circleci.com/gh/opentable/hy.svg?style=svg)](https://circleci.com/gh/opentable/hy)\n[![codecov](https://codecov.io/gh/opentable/hy/branch/master/graph/badge.svg)](https://codecov.io/gh/opentable/hy)\n[![Go Report Card](https://goreportcard.com/badge/github.com/opentable/hy)](https://goreportcard.com/report/github.com/opentable/hy)\n[![GoDoc](https://godoc.org/github.com/opentable/hy?status.svg)](https://godoc.org/github.com/opentable/hy)\n[![License MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n\n## TODO\n- Improve memory efficiency (currently loads everything eagerly in-memory, should use readers and (de)coders rather than []byte and marshalers).\n- Add test cases for all failure modes.\n  - Attempt to specify a directory for a struct field.\n  - SpecialMap has wrong method signatures.\n- Make analysis concurrent.\n- Make writing concurrent.\n- Make reading concurrent.\n- Add options for default path names:\n  - lowerCamelCase\n  - CamelCase\n  - snake_case\n  - lowercaseonly\n- On write, need to pick:\n  - Fail if ID field not matching key or index?\n  - Overwrite ID with current key or index?\n  - Elide ID field from output altogether? (This should be the default, so\n    it only matters in memory.)\n  - Other?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopentable%2Fhy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopentable%2Fhy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopentable%2Fhy/lists"}