DEV Community

Cover image for Use variables from the Go standard library with Usestdlibvars open-source
Evrone
Evrone

Posted on • Originally published at evrone.com

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

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.

Top comments (0)