Skip to content

Latest commit

 

History

History
 
 

depth

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

godepth

Count the maxdepth of go functions. It's helpful to see if a function needs to be splitted into several smaller functions, for readability purpose.

To install, run

$ go get github.com/360EntSecGroup-Skylar/godepth

examples:

$ godepth .
$ godepth -over 3
$ godepth -avg