goc icon indicating copy to clipboard operation
goc copied to clipboard

naming conflict causes redeclaration issue

Open uveege opened this issue 3 years ago • 1 comments

when goc build, there is a chance that we use a name which is used by goc code, such as registerHandlers, we use this name as well, so I failed to build it:

./main.go:26: registerHandlers redeclared in this block
        previous declaration at ./http_cover_apis_auto_generated.go:1045:6

uveege avatar Mar 17 '21 08:03 uveege

Hi @uveege , thanks for your question. Let's enhance it.

CarlJi avatar Mar 17 '21 08:03 CarlJi