There are many ways to make a circle, there's no single one right way.
You could define your own SVG element that creates a circle of the right size, that's likely the easiest way.
You can see the comment was in the right place on the [original commit where I left it](https://github.com/google/go-github/pull/672/commits/43efbcca65900900ec7cda9ccf16dcbf8d47364e).
This is a github bug... 😞 I left this comment in the right place, and after a new commit was pushed which resolved the issue, github incorrectly associated my comment with this wrong place instead…
@gmlewis The reason the generated methods disappeared is because they're only generated for pointers, but those fields were changed to slices. CI is passing.
@bronze1man I understand it's a problem for you but I cannot debug: it's slow and stupid. Please help me reproduce the issue so that it stops being slow and stupid.
> If you try rename some name like Error, you will find it slow and stupid.
Slow and stupid is not something actionable. If you do find something that's an issue, please try and provide steps to r…
> Is there any way to make Gogland refactor works as this plugin ?
Yes, you can send a PR to it because I'm not going to work on it and there's no other active maintainer for the plugin. I don't w…
There are currently no plans to make this plugin compatible with 2017.2 as far as I know. The JetBrains maintained one is not going to compatible with the community version. You can use https://www.j…
I think you meant "Repositories. ListAllTopics" in the error message, not "Repositories.ReplaceAllTopics".
Also, use `t.Fatalf` instead of `t.Errorf` here. If `err != nil`, that's a fatal error, w…
For GitHub, not that I know of.
For git, I think you can adjust the `
--find-renames[=<n>]` (aka `-M[<n>]`) flag of `git diff`, see https://git-scm.com/docs/git-diff. You may be able to get it to…
Move `want` just above this line. It's pretty common to get the value of `got`, then define `want` and check if they're not equal. See tests above.
```Go
want := ...
if !reflect.DeepEqual(topics…
@RaviTezu, you should edit your PR description (or commit message) to include `Fixes #670.` instead of just `Issue Link: #670`, since you intend for this PR to resolve the entire issue. That way, whe…
Yeah @mholt the first byte looks OK to me, but the byte immediately after should be a 2 byte version and that doesn't match anything (SSLv3, TLS1.0, 1.1, 1.2 or 1.3), so immediately it's suspicious.
All right.
> Also, I didn't know why `go install` was used instead of `go build`.
For posterity, `go install` and `go build` effectively do the same thing, but the latter tends to throw away it…
[CL 49712](https://golang.org/cl/49712) implements the fix and is valid.
However, it got me thinking. Perhaps a better, alternative fix should be considered.
Go favors clarify of API documentat…
Have you seen my comment above at https://github.com/google/go-github/pull/674#issuecomment-316196325? Does it answer your question, or should I elaborate?
Note that `go test` is a superset of `go…
> Hmm, it might be possible to make it so that the integration test is verified to build successfully, but not run the tests. Let me do that.
I originally tried to just test that the package build…
Note, CI is meaningless for this change. It doesn't do anything about `./test/integration` because it's an empty package unless `integration` build tag is manually specified.
Hmm, it might be poss…
It may be a dup. However, @shurcooL provides a nice example for a case that's trivial to implement – unlike the more general case of #40. If the anonymous function isn't closing over any variables,…
Is this check viable? Will it skip cases where `==` operator must be used, e.g., when `time.Time` is a map key?
See #47 for previous discussion of this check (before Go 1.9 changes were finalized).
Feel free to go for it, @RaviTezu, and thanks!
Take a look over https://github.com/google/go-github/blob/master/CONTRIBUTING.md to be familiar with contributing guidelines.
OK, had a quick look, and it doesn't look like a client hello at all. The first byte suggests it's a TLS handshake, but the rest of it doesn't look right at all:
```
Version: 0xf2c8 (unknown)
Ha…
Yes, I believe that (or something along those lines) would work.
You could make it a little nicer by using the `TRAVIS_GO_VERSION` env var which includes version only without prefix/suffix, as des…
Everything is succeeding on Go 1.8 and tip, but `go tool vet .` is failing on Go 1.6.
In general, I think the best thing to do is to run `go vet` and similar checks on latest version of Go only, a…
> Suggested script LGTM, but avoid the go get step for now. It is intended for this package to have no dependencies other than the standard library. We can add that in if this ever changes.
SGTM, …
For reference, I sent a similar change to `.travis.yml` to `gorilla/mux` in 2015 and it was accepted there, see https://github.com/gorilla/mux/pull/134.