{"action":"created","issue":{"url":"https://api.github.com/repos/minio/minio-go/issues/272","labels_url":"https://api.github.com/repos/minio/minio-go/issues/272/labels{/name}","comments_url":"https://api.github.com/repos/minio/minio-go/issues/272/comments","events_url":"https://api.github.com/repos/minio/minio-go/issues/272/events","html_url":"https://github.com/minio/minio-go/pull/272","id":123389476,"number":272,"title":"cleanup: Fix fput object, put object and getObjectPartial behavior.","user":{"login":"harshavardhana","id":622699,"avatar_url":"https://avatars.githubusercontent.com/u/622699?v=3","gravatar_id":"","url":"https://api.github.com/users/harshavardhana","html_url":"https://github.com/harshavardhana","followers_url":"https://api.github.com/users/harshavardhana/followers","following_url":"https://api.github.com/users/harshavardhana/following{/other_user}","gists_url":"https://api.github.com/users/harshavardhana/gists{/gist_id}","starred_url":"https://api.github.com/users/harshavardhana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshavardhana/subscriptions","organizations_url":"https://api.github.com/users/harshavardhana/orgs","repos_url":"https://api.github.com/users/harshavardhana/repos","events_url":"https://api.github.com/users/harshavardhana/events{/privacy}","received_events_url":"https://api.github.com/users/harshavardhana/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-22T00:52:27Z","updated_at":"2015-12-24T20:50:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/minio/minio-go/pulls/272","html_url":"https://github.com/minio/minio-go/pull/272","diff_url":"https://github.com/minio/minio-go/pull/272.diff","patch_url":"https://github.com/minio/minio-go/pull/272.patch"},"body":"- Remove usage of channels and section/part managers.\r\n- Implement ReaderAt interface rather than io.ReadSeeker\r\n- PutObject takes only a Reader and verifies md5sum before upload.\r\n- FPutObject verifies md5sum before upload."},"comment":{"url":"https://api.github.com/repos/minio/minio-go/issues/comments/167158744","html_url":"https://github.com/minio/minio-go/pull/272#issuecomment-167158744","issue_url":"https://api.github.com/repos/minio/minio-go/issues/272","id":167158744,"user":{"login":"harshavardhana","id":622699,"avatar_url":"https://avatars.githubusercontent.com/u/622699?v=3","gravatar_id":"","url":"https://api.github.com/users/harshavardhana","html_url":"https://github.com/harshavardhana","followers_url":"https://api.github.com/users/harshavardhana/followers","following_url":"https://api.github.com/users/harshavardhana/following{/other_user}","gists_url":"https://api.github.com/users/harshavardhana/gists{/gist_id}","starred_url":"https://api.github.com/users/harshavardhana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshavardhana/subscriptions","organizations_url":"https://api.github.com/users/harshavardhana/orgs","repos_url":"https://api.github.com/users/harshavardhana/repos","events_url":"https://api.github.com/users/harshavardhana/events{/privacy}","received_events_url":"https://api.github.com/users/harshavardhana/received_events","type":"User","site_admin":false},"created_at":"2015-12-24T20:50:21Z","updated_at":"2015-12-24T20:50:21Z","body":"> This can be turned into a function to compute hash without disturbing the seek offset.\r\n\r\nThis is really hard to do, since our put-object is just a reader and putobject partial is just a readAt with no Seeker.  There is no easier way to converge them for all these functions unless we make a function take an interface{} and do reflection to implement functionality for each functions. \r\n\r\nSince each have different styles it became cumbersome to address all cases. \r\n"}}