{"action":"opened","issue":{"url":"https://api.github.com/repos/multiformats/go-multibase/issues/1","repository_url":"https://api.github.com/repos/multiformats/go-multibase","labels_url":"https://api.github.com/repos/multiformats/go-multibase/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/multiformats/go-multibase/issues/1/comments","events_url":"https://api.github.com/repos/multiformats/go-multibase/issues/1/events","html_url":"https://github.com/multiformats/go-multibase/issues/1","id":172620573,"number":1,"title":"Type the base identifier","user":{"login":"jbenet","id":138401,"avatar_url":"https://avatars.githubusercontent.com/u/138401?v=3","gravatar_id":"","url":"https://api.github.com/users/jbenet","html_url":"https://github.com/jbenet","followers_url":"https://api.github.com/users/jbenet/followers","following_url":"https://api.github.com/users/jbenet/following{/other_user}","gists_url":"https://api.github.com/users/jbenet/gists{/gist_id}","starred_url":"https://api.github.com/users/jbenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbenet/subscriptions","organizations_url":"https://api.github.com/users/jbenet/orgs","repos_url":"https://api.github.com/users/jbenet/repos","events_url":"https://api.github.com/users/jbenet/events{/privacy}","received_events_url":"https://api.github.com/users/jbenet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-23T06:18:16Z","updated_at":"2016-08-23T06:18:16Z","closed_at":null,"body":"Would be nice to type the identifier of the base:\r\n\r\n```go\r\ntype Base char\r\n\r\nconst (\r\n\tBase1        = Base('1')\r\n\tBase2        = Base('0')\r\n\tBase8        = Base'7'\r\n\tBase10       = Base('9')\r\n\tBase16       = Base('f')\r\n\tBase58Flickr = Base('Z')\r\n\tBase58BTC    = Base('z')\r\n)\r\n```\r\n\r\nthis way we can make functions like:\r\n\r\n```go\r\n// StringBase returns the Base s is in.\r\nfunc StringBase(s string) Base { ... }\r\n```"}}
{"actor":{"display_login":"jbenet"}}