Allenxuxu / gev

🚀Gev is a lightweight, fast non-blocking TCP network library / websocket server based on Reactor mode. Support custom protocols to quickly and easily build high-performance servers.
MIT License
1.73k stars 194 forks source link

(CRT-A0001) Shadow of builtin detected #91

Closed Allenxuxu closed 3 years ago

Allenxuxu commented 3 years ago

Description

It is not recommended to overshadow builtins. <!--more--> A shadowed variable or function is declared in the scope with the same name as a built-in function. It is not recommended because identifiers shadowing a built-in make it inaccessible to use. ## Examples ### Bad practice go len := 10

Occurrences

There are 2 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/Allenxuxu/gev/issue/CRT-A0001/occurrences/