godepth calculates maximum depth of go methods in Go source code.
This work was mainly inspired by github.com/fzipp/gocyclo
Usage:
godepth [<flag> ...] <Go file or directory> ...
Flags:
-over N show functions with depth > N only and
return exit code 1 if the output is non-empty
-top N show the top N most complex functions only
-avg show the average depth
The output fields for each line are:
<depth> <package> <function> <file:row:column>