{"action":"opened","issue":{"url":"https://api.github.com/repos/Scalingo/go-utils/issues/57","repository_url":"https://api.github.com/repos/Scalingo/go-utils","labels_url":"https://api.github.com/repos/Scalingo/go-utils/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/Scalingo/go-utils/issues/57/comments","events_url":"https://api.github.com/repos/Scalingo/go-utils/issues/57/events","html_url":"https://github.com/Scalingo/go-utils/issues/57","id":368317887,"node_id":"MDU6SXNzdWUzNjgzMTc4ODc=","number":57,"title":"[Document] We should have a \"safe\" method to update documents","user":{"login":"johnsudaar","id":3317829,"node_id":"MDQ6VXNlcjMzMTc4Mjk=","avatar_url":"https://avatars2.githubusercontent.com/u/3317829?v=4","gravatar_id":"","url":"https://api.github.com/users/johnsudaar","html_url":"https://github.com/johnsudaar","followers_url":"https://api.github.com/users/johnsudaar/followers","following_url":"https://api.github.com/users/johnsudaar/following{/other_user}","gists_url":"https://api.github.com/users/johnsudaar/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsudaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsudaar/subscriptions","organizations_url":"https://api.github.com/users/johnsudaar/orgs","repos_url":"https://api.github.com/users/johnsudaar/repos","events_url":"https://api.github.com/users/johnsudaar/events{/privacy}","received_events_url":"https://api.github.com/users/johnsudaar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-09T17:30:47Z","updated_at":"2018-10-09T17:30:47Z","closed_at":null,"author_association":"MEMBER","body":"A method that will add the `bson.M{\"$set\": query}`\r\n\r\nTo prevent dumm errors like:\r\n\r\n`document.Update(ctx, Collection, bson.M{\"field\": \"value\"}, doc)`"}}
{"actor":{"display_login":"johnsudaar"}}