{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/pravj/geopattern/pulls/8","id":34553554,"html_url":"https://github.com/pravj/geopattern/pull/8","diff_url":"https://github.com/pravj/geopattern/pull/8.diff","patch_url":"https://github.com/pravj/geopattern/pull/8.patch","issue_url":"https://api.github.com/repos/pravj/geopattern/issues/8","number":8,"state":"open","locked":false,"title":"Making the function arguments more idiomatic; move everything to one package","user":{"login":"Thesandlord","id":8902396,"avatar_url":"https://avatars.githubusercontent.com/u/8902396?v=3","gravatar_id":"","url":"https://api.github.com/users/Thesandlord","html_url":"https://github.com/Thesandlord","followers_url":"https://api.github.com/users/Thesandlord/followers","following_url":"https://api.github.com/users/Thesandlord/following{/other_user}","gists_url":"https://api.github.com/users/Thesandlord/gists{/gist_id}","starred_url":"https://api.github.com/users/Thesandlord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thesandlord/subscriptions","organizations_url":"https://api.github.com/users/Thesandlord/orgs","repos_url":"https://api.github.com/users/Thesandlord/repos","events_url":"https://api.github.com/users/Thesandlord/events{/privacy}","received_events_url":"https://api.github.com/users/Thesandlord/received_events","type":"User","site_admin":false},"body":"Using a map of strings as the argument for Generate, Base64String, and URIimage seems like an anti-pattern in Go (It would be the right thing to do in Javascript). A more idiomatic approach would be to use a Struct. This change breaks reverse compatibility with this library.\r\n\r\nI also moved all the sub-packages into the geopattern package. If this is a problem, I can try and make it work with the sub-packages.","created_at":"2015-05-01T17:52:46Z","updated_at":"2015-05-01T17:52:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pravj/geopattern/pulls/8/commits","review_comments_url":"https://api.github.com/repos/pravj/geopattern/pulls/8/comments","review_comment_url":"https://api.github.com/repos/pravj/geopattern/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pravj/geopattern/issues/8/comments","statuses_url":"https://api.github.com/repos/pravj/geopattern/statuses/0a883578fa07071e141342478f5a066287b50ab3","head":{"label":"Thesandlord:master","ref":"master","sha":"0a883578fa07071e141342478f5a066287b50ab3","user":{"login":"Thesandlord","id":8902396,"avatar_url":"https://avatars.githubusercontent.com/u/8902396?v=3","gravatar_id":"","url":"https://api.github.com/users/Thesandlord","html_url":"https://github.com/Thesandlord","followers_url":"https://api.github.com/users/Thesandlord/followers","following_url":"https://api.github.com/users/Thesandlord/following{/other_user}","gists_url":"https://api.github.com/users/Thesandlord/gists{/gist_id}","starred_url":"https://api.github.com/users/Thesandlord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thesandlord/subscriptions","organizations_url":"https://api.github.com/users/Thesandlord/orgs","repos_url":"https://api.github.com/users/Thesandlord/repos","events_url":"https://api.github.com/users/Thesandlord/events{/privacy}","received_events_url":"https://api.github.com/users/Thesandlord/received_events","type":"User","site_admin":false},"repo":{"id":31752433,"name":"geopattern","full_name":"Thesandlord/geopattern","owner":{"login":"Thesandlord","id":8902396,"avatar_url":"https://avatars.githubusercontent.com/u/8902396?v=3","gravatar_id":"","url":"https://api.github.com/users/Thesandlord","html_url":"https://github.com/Thesandlord","followers_url":"https://api.github.com/users/Thesandlord/followers","following_url":"https://api.github.com/users/Thesandlord/following{/other_user}","gists_url":"https://api.github.com/users/Thesandlord/gists{/gist_id}","starred_url":"https://api.github.com/users/Thesandlord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thesandlord/subscriptions","organizations_url":"https://api.github.com/users/Thesandlord/orgs","repos_url":"https://api.github.com/users/Thesandlord/repos","events_url":"https://api.github.com/users/Thesandlord/events{/privacy}","received_events_url":"https://api.github.com/users/Thesandlord/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Thesandlord/geopattern","description":"now create beautiful generative background images from a string in golang.","fork":true,"url":"https://api.github.com/repos/Thesandlord/geopattern","forks_url":"https://api.github.com/repos/Thesandlord/geopattern/forks","keys_url":"https://api.github.com/repos/Thesandlord/geopattern/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Thesandlord/geopattern/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Thesandlord/geopattern/teams","hooks_url":"https://api.github.com/repos/Thesandlord/geopattern/hooks","issue_events_url":"https://api.github.com/repos/Thesandlord/geopattern/issues/events{/number}","events_url":"https://api.github.com/repos/Thesandlord/geopattern/events","assignees_url":"https://api.github.com/repos/Thesandlord/geopattern/assignees{/user}","branches_url":"https://api.github.com/repos/Thesandlord/geopattern/branches{/branch}","tags_url":"https://api.github.com/repos/Thesandlord/geopattern/tags","blobs_url":"https://api.github.com/repos/Thesandlord/geopattern/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Thesandlord/geopattern/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Thesandlord/geopattern/git/refs{/sha}","trees_url":"https://api.github.com/repos/Thesandlord/geopattern/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Thesandlord/geopattern/statuses/{sha}","languages_url":"https://api.github.com/repos/Thesandlord/geopattern/languages","stargazers_url":"https://api.github.com/repos/Thesandlord/geopattern/stargazers","contributors_url":"https://api.github.com/repos/Thesandlord/geopattern/contributors","subscribers_url":"https://api.github.com/repos/Thesandlord/geopattern/subscribers","subscription_url":"https://api.github.com/repos/Thesandlord/geopattern/subscription","commits_url":"https://api.github.com/repos/Thesandlord/geopattern/commits{/sha}","git_commits_url":"https://api.github.com/repos/Thesandlord/geopattern/git/commits{/sha}","comments_url":"https://api.github.com/repos/Thesandlord/geopattern/comments{/number}","issue_comment_url":"https://api.github.com/repos/Thesandlord/geopattern/issues/comments{/number}","contents_url":"https://api.github.com/repos/Thesandlord/geopattern/contents/{+path}","compare_url":"https://api.github.com/repos/Thesandlord/geopattern/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Thesandlord/geopattern/merges","archive_url":"https://api.github.com/repos/Thesandlord/geopattern/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Thesandlord/geopattern/downloads","issues_url":"https://api.github.com/repos/Thesandlord/geopattern/issues{/number}","pulls_url":"https://api.github.com/repos/Thesandlord/geopattern/pulls{/number}","milestones_url":"https://api.github.com/repos/Thesandlord/geopattern/milestones{/number}","notifications_url":"https://api.github.com/repos/Thesandlord/geopattern/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Thesandlord/geopattern/labels{/name}","releases_url":"https://api.github.com/repos/Thesandlord/geopattern/releases{/id}","created_at":"2015-03-06T04:27:14Z","updated_at":"2015-05-01T17:36:06Z","pushed_at":"2015-05-01T17:36:05Z","git_url":"git://github.com/Thesandlord/geopattern.git","ssh_url":"git@github.com:Thesandlord/geopattern.git","clone_url":"https://github.com/Thesandlord/geopattern.git","svn_url":"https://github.com/Thesandlord/geopattern","homepage":"","size":377,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pravj:master","ref":"master","sha":"8ede6605fa3e8aab1162c437cd6d046a317c7d94","user":{"login":"pravj","id":3437250,"avatar_url":"https://avatars.githubusercontent.com/u/3437250?v=3","gravatar_id":"","url":"https://api.github.com/users/pravj","html_url":"https://github.com/pravj","followers_url":"https://api.github.com/users/pravj/followers","following_url":"https://api.github.com/users/pravj/following{/other_user}","gists_url":"https://api.github.com/users/pravj/gists{/gist_id}","starred_url":"https://api.github.com/users/pravj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pravj/subscriptions","organizations_url":"https://api.github.com/users/pravj/orgs","repos_url":"https://api.github.com/users/pravj/repos","events_url":"https://api.github.com/users/pravj/events{/privacy}","received_events_url":"https://api.github.com/users/pravj/received_events","type":"User","site_admin":false},"repo":{"id":25594579,"name":"geopattern","full_name":"pravj/geopattern","owner":{"login":"pravj","id":3437250,"avatar_url":"https://avatars.githubusercontent.com/u/3437250?v=3","gravatar_id":"","url":"https://api.github.com/users/pravj","html_url":"https://github.com/pravj","followers_url":"https://api.github.com/users/pravj/followers","following_url":"https://api.github.com/users/pravj/following{/other_user}","gists_url":"https://api.github.com/users/pravj/gists{/gist_id}","starred_url":"https://api.github.com/users/pravj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pravj/subscriptions","organizations_url":"https://api.github.com/users/pravj/orgs","repos_url":"https://api.github.com/users/pravj/repos","events_url":"https://api.github.com/users/pravj/events{/privacy}","received_events_url":"https://api.github.com/users/pravj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pravj/geopattern","description":"Create beautiful generative image patterns from a string in golang.","fork":false,"url":"https://api.github.com/repos/pravj/geopattern","forks_url":"https://api.github.com/repos/pravj/geopattern/forks","keys_url":"https://api.github.com/repos/pravj/geopattern/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pravj/geopattern/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pravj/geopattern/teams","hooks_url":"https://api.github.com/repos/pravj/geopattern/hooks","issue_events_url":"https://api.github.com/repos/pravj/geopattern/issues/events{/number}","events_url":"https://api.github.com/repos/pravj/geopattern/events","assignees_url":"https://api.github.com/repos/pravj/geopattern/assignees{/user}","branches_url":"https://api.github.com/repos/pravj/geopattern/branches{/branch}","tags_url":"https://api.github.com/repos/pravj/geopattern/tags","blobs_url":"https://api.github.com/repos/pravj/geopattern/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pravj/geopattern/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pravj/geopattern/git/refs{/sha}","trees_url":"https://api.github.com/repos/pravj/geopattern/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pravj/geopattern/statuses/{sha}","languages_url":"https://api.github.com/repos/pravj/geopattern/languages","stargazers_url":"https://api.github.com/repos/pravj/geopattern/stargazers","contributors_url":"https://api.github.com/repos/pravj/geopattern/contributors","subscribers_url":"https://api.github.com/repos/pravj/geopattern/subscribers","subscription_url":"https://api.github.com/repos/pravj/geopattern/subscription","commits_url":"https://api.github.com/repos/pravj/geopattern/commits{/sha}","git_commits_url":"https://api.github.com/repos/pravj/geopattern/git/commits{/sha}","comments_url":"https://api.github.com/repos/pravj/geopattern/comments{/number}","issue_comment_url":"https://api.github.com/repos/pravj/geopattern/issues/comments{/number}","contents_url":"https://api.github.com/repos/pravj/geopattern/contents/{+path}","compare_url":"https://api.github.com/repos/pravj/geopattern/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pravj/geopattern/merges","archive_url":"https://api.github.com/repos/pravj/geopattern/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pravj/geopattern/downloads","issues_url":"https://api.github.com/repos/pravj/geopattern/issues{/number}","pulls_url":"https://api.github.com/repos/pravj/geopattern/pulls{/number}","milestones_url":"https://api.github.com/repos/pravj/geopattern/milestones{/number}","notifications_url":"https://api.github.com/repos/pravj/geopattern/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pravj/geopattern/labels{/name}","releases_url":"https://api.github.com/repos/pravj/geopattern/releases{/id}","created_at":"2014-10-22T17:26:30Z","updated_at":"2015-04-30T05:56:39Z","pushed_at":"2015-05-01T17:52:46Z","git_url":"git://github.com/pravj/geopattern.git","ssh_url":"git@github.com:pravj/geopattern.git","clone_url":"https://github.com/pravj/geopattern.git","svn_url":"https://github.com/pravj/geopattern","homepage":"","size":557,"stargazers_count":792,"watchers_count":792,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":2,"forks":26,"open_issues":2,"watchers":792,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pravj/geopattern/pulls/8"},"html":{"href":"https://github.com/pravj/geopattern/pull/8"},"issue":{"href":"https://api.github.com/repos/pravj/geopattern/issues/8"},"comments":{"href":"https://api.github.com/repos/pravj/geopattern/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/pravj/geopattern/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/pravj/geopattern/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pravj/geopattern/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/pravj/geopattern/statuses/0a883578fa07071e141342478f5a066287b50ab3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":409,"deletions":303,"changed_files":29}}