Jim Popadak
Jim Popadak
Basically need this same commit that you did for IntelliJ plugin, but for the library. https://github.com/uwolfer/gerrit-intellij-plugin/commit/b4825726f1e2e8a24278f1428072c59fc5e3d62b
**Describe the bug** `revive` incorrectly identities channel draining as an empty code block and suggests to remove it. **To Reproduce** Steps to reproduce the behavior: 1. I updated revive `go...
Creating Pegomock Matchers or Mocks for a type which is an alias for a private `./internal/` package type causes compile errors upon matcher creation. **Setup** In the example below, `status.Status`...
**Description** When generating matchers for a given interface method using Pegomock, it fails to create proper matchers for the empty struct type: `struct{}`. As a result, anything that passes around...
We are receiving this TODO while trying to generate some mocks. Funny thing is, it works for a vararg version of this function, but not a slice version of it....
In my code base, I use many private interfaces to prevent package pollution. I have an interface in my source code: ```go package auth type tokenRetriever interface { Token() (string,...
Do you have any suggestions for duplicate interface names? For example, I have this type: ```go type StructUnderTest struct { firstClient first.Client secondClient second.Client } ``` ```go package first type...
For some Go code, a single struct might implement multiple interfaces. For example: ```go type IType1 interface { Method1() error } type IType2 interface { Method2() string } func DoWork(input...
I am using a test database that other tests might not have cleaned up, in doing so, I want to use the `CLEAR_INSERT` and also the `dbMaintainer.disableConstraints.enabled=true` property to disable...