Skip to content

matsuri-tech/golint-extra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golint-extra

How to use

$ go run github.com/matsuri-tech/golint-extra ./...

# Or you just want to see logs:
$ DEBUG=true go run github.com/matsuri-tech/golint-extra ./...

Ignore lint

Use @ignore-golint-extra

Example:

h := H{
    // @ignore-golint-extra
    a: "foo",
}

Rules

  • zerovalue_struct: ban incomplete struct initialization (inner function structs are not supported)

About

Yet another golint focused on more practical rules

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 7

Languages