{"action":"created","issue":{"url":"https://api.github.com/repos/peterbourgon/diskv/issues/45","repository_url":"https://api.github.com/repos/peterbourgon/diskv","labels_url":"https://api.github.com/repos/peterbourgon/diskv/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/peterbourgon/diskv/issues/45/comments","events_url":"https://api.github.com/repos/peterbourgon/diskv/issues/45/events","html_url":"https://github.com/peterbourgon/diskv/issues/45","id":324564721,"number":45,"title":"Best way to create multiple keys for same value?","user":{"login":"shah","id":47497,"avatar_url":"https://avatars0.githubusercontent.com/u/47497?v=4","gravatar_id":"","url":"https://api.github.com/users/shah","html_url":"https://github.com/shah","followers_url":"https://api.github.com/users/shah/followers","following_url":"https://api.github.com/users/shah/following{/other_user}","gists_url":"https://api.github.com/users/shah/gists{/gist_id}","starred_url":"https://api.github.com/users/shah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shah/subscriptions","organizations_url":"https://api.github.com/users/shah/orgs","repos_url":"https://api.github.com/users/shah/repos","events_url":"https://api.github.com/users/shah/events{/privacy}","received_events_url":"https://api.github.com/users/shah/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-18T22:03:19Z","updated_at":"2018-05-19T16:29:27Z","closed_at":"2018-05-19T13:21:25Z","author_association":"NONE","body":"@peterbourgon what's the best way to accomplish value 'aliases' or 'links' using multiple keys pointing to the same value? For example, I have a JSON file to store, it has a canonical name (the 'key'). Then, I might have several other aliases or keys, e.g. tags, that I would like to use to lookup the same value (meaning I could use the primary key or any number of secondary keys). \r\n\r\nI was thinking this could be implemented using file systems symlinks for the _secondary_ keys but wasn't sure how to support that in diskv. Thoughts?\r\n\r\nThis is a great library by the way, I love the idea of a KV store with a simple way to get access to the files. Excellent idea."},"comment":{"url":"https://api.github.com/repos/peterbourgon/diskv/issues/comments/390416247","html_url":"https://github.com/peterbourgon/diskv/issues/45#issuecomment-390416247","issue_url":"https://api.github.com/repos/peterbourgon/diskv/issues/45","id":390416247,"user":{"login":"shah","id":47497,"avatar_url":"https://avatars0.githubusercontent.com/u/47497?v=4","gravatar_id":"","url":"https://api.github.com/users/shah","html_url":"https://github.com/shah","followers_url":"https://api.github.com/users/shah/followers","following_url":"https://api.github.com/users/shah/following{/other_user}","gists_url":"https://api.github.com/users/shah/gists{/gist_id}","starred_url":"https://api.github.com/users/shah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shah/subscriptions","organizations_url":"https://api.github.com/users/shah/orgs","repos_url":"https://api.github.com/users/shah/repos","events_url":"https://api.github.com/users/shah/events{/privacy}","received_events_url":"https://api.github.com/users/shah/received_events","type":"User","site_admin":false},"created_at":"2018-05-19T16:29:27Z","updated_at":"2018-05-19T16:29:27Z","author_association":"NONE","body":"Great idea @peterbourgon that should work. Thanks!"}}
{"actor":{"display_login":"shah"}}