{"action":"created","issue":{"url":"https://api.github.com/repos/apache/calcite-avatica-go/issues/24","repository_url":"https://api.github.com/repos/apache/calcite-avatica-go","labels_url":"https://api.github.com/repos/apache/calcite-avatica-go/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/apache/calcite-avatica-go/issues/24/comments","events_url":"https://api.github.com/repos/apache/calcite-avatica-go/issues/24/events","html_url":"https://github.com/apache/calcite-avatica-go/pull/24","id":332951791,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1MzExODk1","number":24,"title":"Change UUID package to github.com/hashicorp/go-uuid","user":{"login":"kenshaw","id":2274859,"node_id":"MDQ6VXNlcjIyNzQ4NTk=","avatar_url":"https://avatars1.githubusercontent.com/u/2274859?v=4","gravatar_id":"","url":"https://api.github.com/users/kenshaw","html_url":"https://github.com/kenshaw","followers_url":"https://api.github.com/users/kenshaw/followers","following_url":"https://api.github.com/users/kenshaw/following{/other_user}","gists_url":"https://api.github.com/users/kenshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/kenshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenshaw/subscriptions","organizations_url":"https://api.github.com/users/kenshaw/orgs","repos_url":"https://api.github.com/users/kenshaw/repos","events_url":"https://api.github.com/users/kenshaw/events{/privacy}","received_events_url":"https://api.github.com/users/kenshaw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-06-16T01:52:00Z","updated_at":"2018-06-16T02:55:21Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/calcite-avatica-go/pulls/24","html_url":"https://github.com/apache/calcite-avatica-go/pull/24","diff_url":"https://github.com/apache/calcite-avatica-go/pull/24.diff","patch_url":"https://github.com/apache/calcite-avatica-go/pull/24.patch"},"body":"The satori UUID package causes problems with go get and vgo when\r\nbuilding multiple database drivers in the same Go application. This is\r\nbecause the satori package introduced breaking API changes and has not\r\ntagged it a new version yet.\r\n\r\nThis change converts the connection ID generation to use the hashicorp\r\nUUID package which was already a dependency of this project, as it is a\r\ndependency of the gokrb package.\r\n\r\nThis has the added benefit of reducing the number of total package\r\ndependencies by 1.\r\n\r\nAdditionally, this is needed by github.com/xo/usql so that go get and\r\nvgo build both work \"out of the box\".\r\n\r\nThe following is a small Go program that demonstrates that the UUIDs\r\ngenerated will be the same format:\r\n\r\n```\r\npackage main\r\n\r\nimport (\r\n\t\"log\"\r\n\r\n\tguuid \"github.com/google/uuid\"\r\n\thuuid \"github.com/hashicorp/go-uuid\"\r\n\tsuuid \"github.com/satori/go.uuid\"\r\n)\r\n\r\nfunc main() {\r\n\tg, err := guuid.NewRandom()\r\n\tif err != nil {\r\n\t\tlog.Fatal(err)\r\n\t}\r\n\r\n\th, err := huuid.GenerateUUID()\r\n\tif err != nil {\r\n\t\tlog.Fatal(err)\r\n\t}\r\n\r\n\ts, err := suuid.NewV4()\r\n\tif err != nil {\r\n\t\tlog.Fatal(err)\r\n\t}\r\n\r\n\tlog.Printf(\r\n\t\t\"google: %s, hashicorp: %s, satori: %s\",\r\n\t\tg, h, s,\r\n\t)\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/apache/calcite-avatica-go/issues/comments/397781622","html_url":"https://github.com/apache/calcite-avatica-go/pull/24#issuecomment-397781622","issue_url":"https://api.github.com/repos/apache/calcite-avatica-go/issues/24","id":397781622,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Nzc4MTYyMg==","user":{"login":"kenshaw","id":2274859,"node_id":"MDQ6VXNlcjIyNzQ4NTk=","avatar_url":"https://avatars1.githubusercontent.com/u/2274859?v=4","gravatar_id":"","url":"https://api.github.com/users/kenshaw","html_url":"https://github.com/kenshaw","followers_url":"https://api.github.com/users/kenshaw/followers","following_url":"https://api.github.com/users/kenshaw/following{/other_user}","gists_url":"https://api.github.com/users/kenshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/kenshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenshaw/subscriptions","organizations_url":"https://api.github.com/users/kenshaw/orgs","repos_url":"https://api.github.com/users/kenshaw/repos","events_url":"https://api.github.com/users/kenshaw/events{/privacy}","received_events_url":"https://api.github.com/users/kenshaw/received_events","type":"User","site_admin":false},"created_at":"2018-06-16T02:55:21Z","updated_at":"2018-06-16T02:55:21Z","author_association":"CONTRIBUTOR","body":"@F21 done."}}
{"actor":{"display_login":"kenshaw"}}