Skip to content

akrovv/zeros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zeros linter

Use var for Zero Value Structs

When all the fields of a struct are omitted in a declaration, use the var form to declare the struct.

BadGood
user := User{}
var user User

How to start

About

Uses for find Zero Value Structs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published