Skip to content

asuke-yasukuni/goimportlinter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

goimportlinter

warn if newline count in imports is greater than or equal to the number passed to -n

Insall

go get -u github.com/asuke-yasukuni/goimportlinter

How to use

$ goimportlinter sample.go -n 2

sample.go
フォーマットが不正のようです
imports (
  "flag"
  "fmt"
  "go/ast"
  "go/parser"

  "go/token"
  "io/ioutil"
-
  "log"
  "os"
  "path/filepath"
 )

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages