{"action":"created","issue":{"url":"https://api.github.com/repos/advmaker/hackaton/issues/3","labels_url":"https://api.github.com/repos/advmaker/hackaton/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/advmaker/hackaton/issues/3/comments","events_url":"https://api.github.com/repos/advmaker/hackaton/issues/3/events","html_url":"https://github.com/advmaker/hackaton/pull/3","id":54005217,"number":3,"title":"Migration","user":{"login":"vforvova","id":1913904,"avatar_url":"https://avatars.githubusercontent.com/u/1913904?v=3","gravatar_id":"","url":"https://api.github.com/users/vforvova","html_url":"https://github.com/vforvova","followers_url":"https://api.github.com/users/vforvova/followers","following_url":"https://api.github.com/users/vforvova/following{/other_user}","gists_url":"https://api.github.com/users/vforvova/gists{/gist_id}","starred_url":"https://api.github.com/users/vforvova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vforvova/subscriptions","organizations_url":"https://api.github.com/users/vforvova/orgs","repos_url":"https://api.github.com/users/vforvova/repos","events_url":"https://api.github.com/users/vforvova/events{/privacy}","received_events_url":"https://api.github.com/users/vforvova/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-11T21:15:36Z","updated_at":"2015-01-15T08:48:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/advmaker/hackaton/pulls/3","html_url":"https://github.com/advmaker/hackaton/pull/3","diff_url":"https://github.com/advmaker/hackaton/pull/3.diff","patch_url":"https://github.com/advmaker/hackaton/pull/3.patch"},"body":"@Puppollo, вызываю тебя! Смотри тут такая шляпа, есть миграция, она ок работает вместе с gorm. Но теперь я бы хотел не открывать связь с базой каждый раз, и сейчас я не уверен, как это правильно сделать. По идее нужно сохранить переменную db, а после тягать ее из пакета. Как думаешь, как это лучше осуществить?"},"comment":{"url":"https://api.github.com/repos/advmaker/hackaton/issues/comments/70055760","html_url":"https://github.com/advmaker/hackaton/pull/3#issuecomment-70055760","issue_url":"https://api.github.com/repos/advmaker/hackaton/issues/3","id":70055760,"user":{"login":"vforvova","id":1913904,"avatar_url":"https://avatars.githubusercontent.com/u/1913904?v=3","gravatar_id":"","url":"https://api.github.com/users/vforvova","html_url":"https://github.com/vforvova","followers_url":"https://api.github.com/users/vforvova/followers","following_url":"https://api.github.com/users/vforvova/following{/other_user}","gists_url":"https://api.github.com/users/vforvova/gists{/gist_id}","starred_url":"https://api.github.com/users/vforvova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vforvova/subscriptions","organizations_url":"https://api.github.com/users/vforvova/orgs","repos_url":"https://api.github.com/users/vforvova/repos","events_url":"https://api.github.com/users/vforvova/events{/privacy}","received_events_url":"https://api.github.com/users/vforvova/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T08:48:54Z","updated_at":"2015-01-15T08:48:54Z","body":":crying_cat_face: вот вам смайл печального котика чтобы вам было стыдно"}}