{"action":"created","issue":{"url":"https://api.github.com/repos/rs/rest-layer/issues/67","repository_url":"https://api.github.com/repos/rs/rest-layer","labels_url":"https://api.github.com/repos/rs/rest-layer/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/rs/rest-layer/issues/67/comments","events_url":"https://api.github.com/repos/rs/rest-layer/issues/67/events","html_url":"https://github.com/rs/rest-layer/issues/67","id":196970684,"number":67,"title":"Question: Custom routes","user":{"login":"omani","id":3346207,"avatar_url":"https://avatars.githubusercontent.com/u/3346207?v=3","gravatar_id":"","url":"https://api.github.com/users/omani","html_url":"https://github.com/omani","followers_url":"https://api.github.com/users/omani/followers","following_url":"https://api.github.com/users/omani/following{/other_user}","gists_url":"https://api.github.com/users/omani/gists{/gist_id}","starred_url":"https://api.github.com/users/omani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omani/subscriptions","organizations_url":"https://api.github.com/users/omani/orgs","repos_url":"https://api.github.com/users/omani/repos","events_url":"https://api.github.com/users/omani/events{/privacy}","received_events_url":"https://api.github.com/users/omani/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-21T16:09:58Z","updated_at":"2016-12-21T17:13:50Z","closed_at":null,"body":"Hi,\r\n\r\nif I want to enjoy all the benefits of rest-layer (data validation, json endec, hooks, etc.) but don't want to actually work with the underlying storage backend. how would I do it?\r\n\r\nI came up with the idea of using the mem storage so I can bind a route. it works but it is ugly.\r\n\r\nAre there any plans to make custom routing available? at the end it is just an index.Bind() without a storage handler. Or any other hints?"},"comment":{"url":"https://api.github.com/repos/rs/rest-layer/issues/comments/268579422","html_url":"https://github.com/rs/rest-layer/issues/67#issuecomment-268579422","issue_url":"https://api.github.com/repos/rs/rest-layer/issues/67","id":268579422,"user":{"login":"omani","id":3346207,"avatar_url":"https://avatars.githubusercontent.com/u/3346207?v=3","gravatar_id":"","url":"https://api.github.com/users/omani","html_url":"https://github.com/omani","followers_url":"https://api.github.com/users/omani/followers","following_url":"https://api.github.com/users/omani/following{/other_user}","gists_url":"https://api.github.com/users/omani/gists{/gist_id}","starred_url":"https://api.github.com/users/omani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omani/subscriptions","organizations_url":"https://api.github.com/users/omani/orgs","repos_url":"https://api.github.com/users/omani/repos","events_url":"https://api.github.com/users/omani/events{/privacy}","received_events_url":"https://api.github.com/users/omani/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T17:13:50Z","updated_at":"2016-12-21T17:13:50Z","body":"I thought of something like an abstraction layer like:\r\n\r\nindex.Router(...) which gets a handler. just like an http handlerfunc. but with all the benefits of rest-layer."}}
{"actor":{"display_login":"omani"}}