{"action":"created","issue":{"url":"https://api.github.com/repos/manishrjain/gocrud/issues/6","labels_url":"https://api.github.com/repos/manishrjain/gocrud/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/manishrjain/gocrud/issues/6/comments","events_url":"https://api.github.com/repos/manishrjain/gocrud/issues/6/events","html_url":"https://github.com/manishrjain/gocrud/pull/6","id":91678425,"number":6,"title":"Updated the `math/rand` source to ensure unique values each run.","user":{"login":"wolfeidau","id":50636,"avatar_url":"https://avatars.githubusercontent.com/u/50636?v=3","gravatar_id":"","url":"https://api.github.com/users/wolfeidau","html_url":"https://github.com/wolfeidau","followers_url":"https://api.github.com/users/wolfeidau/followers","following_url":"https://api.github.com/users/wolfeidau/following{/other_user}","gists_url":"https://api.github.com/users/wolfeidau/gists{/gist_id}","starred_url":"https://api.github.com/users/wolfeidau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolfeidau/subscriptions","organizations_url":"https://api.github.com/users/wolfeidau/orgs","repos_url":"https://api.github.com/users/wolfeidau/repos","events_url":"https://api.github.com/users/wolfeidau/events{/privacy}","received_events_url":"https://api.github.com/users/wolfeidau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-29T02:55:15Z","updated_at":"2015-06-29T03:12:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/manishrjain/gocrud/pulls/6","html_url":"https://github.com/manishrjain/gocrud/pull/6","diff_url":"https://github.com/manishrjain/gocrud/pull/6.diff","patch_url":"https://github.com/manishrjain/gocrud/pull/6.patch"},"body":"The `math/rand` API uses a fixed seed will produce the same output on every run. Which meant that the random directory names were the same each run causing odd errors..\r\n\r\nSee the example at https://golang.org/pkg/math/rand/\r\n\r\nThanks to @broady for his help in the gopher slack!"},"comment":{"url":"https://api.github.com/repos/manishrjain/gocrud/issues/comments/116405989","html_url":"https://github.com/manishrjain/gocrud/pull/6#issuecomment-116405989","issue_url":"https://api.github.com/repos/manishrjain/gocrud/issues/6","id":116405989,"user":{"login":"manishrjain","id":1782324,"avatar_url":"https://avatars.githubusercontent.com/u/1782324?v=3","gravatar_id":"","url":"https://api.github.com/users/manishrjain","html_url":"https://github.com/manishrjain","followers_url":"https://api.github.com/users/manishrjain/followers","following_url":"https://api.github.com/users/manishrjain/following{/other_user}","gists_url":"https://api.github.com/users/manishrjain/gists{/gist_id}","starred_url":"https://api.github.com/users/manishrjain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manishrjain/subscriptions","organizations_url":"https://api.github.com/users/manishrjain/orgs","repos_url":"https://api.github.com/users/manishrjain/repos","events_url":"https://api.github.com/users/manishrjain/events{/privacy}","received_events_url":"https://api.github.com/users/manishrjain/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T03:12:36Z","updated_at":"2015-06-29T03:12:36Z","body":"Nice catch! I tend to do it when initializing the server, so the social example didn't get that benefit. This is a better place to do it."}}