Use variables from the Go standard library with Usestdlibvars open-source

Elizabeth Lvova
Evrone Notes
Published in
Sep 21, 2022

--

In Go development, developers often write their own variables or constants and then reuse them in code that accesses the standard library. That’s why our Go developer, Sasha Melentyev, created the usestdlibvars linter — which determines the ability to reuse variables or constants from the standard library. So instead of writing your own constants, you can reuse those constants that are already in the standard library.

How to install usestdlibvars? Read here.

--

--