{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/28490","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/28490/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/28490/comments","events_url":"https://api.github.com/repos/golang/go/issues/28490/events","html_url":"https://github.com/golang/go/issues/28490","id":375710501,"node_id":"MDU6SXNzdWUzNzU3MTA1MDE=","number":28490,"title":"Math package refactoring","user":{"login":"petar-dambovaliev","id":18395154,"node_id":"MDQ6VXNlcjE4Mzk1MTU0","avatar_url":"https://avatars1.githubusercontent.com/u/18395154?v=4","gravatar_id":"","url":"https://api.github.com/users/petar-dambovaliev","html_url":"https://github.com/petar-dambovaliev","followers_url":"https://api.github.com/users/petar-dambovaliev/followers","following_url":"https://api.github.com/users/petar-dambovaliev/following{/other_user}","gists_url":"https://api.github.com/users/petar-dambovaliev/gists{/gist_id}","starred_url":"https://api.github.com/users/petar-dambovaliev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petar-dambovaliev/subscriptions","organizations_url":"https://api.github.com/users/petar-dambovaliev/orgs","repos_url":"https://api.github.com/users/petar-dambovaliev/repos","events_url":"https://api.github.com/users/petar-dambovaliev/events{/privacy}","received_events_url":"https://api.github.com/users/petar-dambovaliev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-30T21:56:07Z","updated_at":"2018-10-30T22:16:11Z","closed_at":null,"author_association":"NONE","body":"Please answer these questions before submitting your issue. Thanks!\r\n\r\n\r\n### What version of Go are you using (`go version`)?\r\ngo1.11.1 linux/amd64\r\n\r\n### Does this issue reproduce with the latest release?\r\nYes\r\n\r\n### What operating system and processor architecture are you using (`go env`)?\r\nGOARCH=\"amd64\"\r\nGOBIN=\"\"\r\nGOCACHE=\"/home/petar/.cache/go-build\"\r\nGOEXE=\"\"\r\nGOFLAGS=\"\"\r\nGOHOSTARCH=\"amd64\"\r\nGOHOSTOS=\"linux\"\r\nGOOS=\"linux\"\r\nGOPATH=\"/home/petar/go\"\r\nGOPROXY=\"\"\r\nGORACE=\"\"\r\nGOROOT=\"/usr/local/go\"\r\nGOTMPDIR=\"\"\r\nGOTOOLDIR=\"/usr/local/go/pkg/tool/linux_amd64\"\r\nGCCGO=\"gccgo\"\r\nCC=\"gcc\"\r\nCXX=\"g++\"\r\nCGO_ENABLED=\"1\"\r\nGOMOD=\"\"\r\nCGO_CFLAGS=\"-g -O2\"\r\nCGO_CPPFLAGS=\"\"\r\nCGO_CXXFLAGS=\"-g -O2\"\r\nCGO_FFLAGS=\"-g -O2\"\r\nCGO_LDFLAGS=\"-g -O2\"\r\nPKG_CONFIG=\"pkg-config\"\r\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build612379143=/tmp/go-build -gno-record-gcc-switches\"\r\n\r\n\r\n### What did you do?\r\nBrowse the code\r\nIf possible, provide a recipe for reproducing the error.\r\nA complete runnable program is good.\r\nA link on play.golang.org is best.\r\n\r\n\r\n### What did you expect to see?\r\nCode\r\n\r\n### What did you see instead?\r\nThere are some old files (2010-2011) in the math package that could use some refactoring,\r\nUnnecessary variable allocations, unused named returns and so on.\r\nI just wanted to ask if  something like  that would be accepted before i start doing work on it.\r\nThanks.\r\n"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/434490025","html_url":"https://github.com/golang/go/issues/28490#issuecomment-434490025","issue_url":"https://api.github.com/repos/golang/go/issues/28490","id":434490025,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDQ5MDAyNQ==","user":{"login":"petar-dambovaliev","id":18395154,"node_id":"MDQ6VXNlcjE4Mzk1MTU0","avatar_url":"https://avatars1.githubusercontent.com/u/18395154?v=4","gravatar_id":"","url":"https://api.github.com/users/petar-dambovaliev","html_url":"https://github.com/petar-dambovaliev","followers_url":"https://api.github.com/users/petar-dambovaliev/followers","following_url":"https://api.github.com/users/petar-dambovaliev/following{/other_user}","gists_url":"https://api.github.com/users/petar-dambovaliev/gists{/gist_id}","starred_url":"https://api.github.com/users/petar-dambovaliev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petar-dambovaliev/subscriptions","organizations_url":"https://api.github.com/users/petar-dambovaliev/orgs","repos_url":"https://api.github.com/users/petar-dambovaliev/repos","events_url":"https://api.github.com/users/petar-dambovaliev/events{/privacy}","received_events_url":"https://api.github.com/users/petar-dambovaliev/received_events","type":"User","site_admin":false},"created_at":"2018-10-30T22:16:11Z","updated_at":"2018-10-30T22:16:11Z","author_association":"NONE","body":"An example would be \r\nhttps://github.com/golang/go/blob/master/src/math/big/int.go#L49\r\n\r\nturns into https://play.golang.org/p/CDEyGeJrsf3"}}
{"actor":{"display_login":"petar-dambovaliev"}}