Closed renzors closed 2 years ago
Hi @renzors , the file src/mock/endpointpattern.go
is auto generated so changing it wouldn't yield much result.
The ideal fix would be fixing the gen.go
script to properly check if a given route was already created.
I'm working on improving the gen.go
script and this problem should be fixed with it.
@renzors could you try to use the branch fix-gen-redeclarations
and test the changes?
Hi @migueleliasweb, thanks for the quick review! Oh I see, I will use that branch and let you know, thanks!
Hi @migueleliasweb, it works perfect from fix-gen-redeclarations
branch. Thanks!
Closing this PR, and waiting for the fix in the main branch :-)
The fix was merged. Thanks @renzors !
It is already declared in line 3145