Skip to content

andrewlader/go-tendo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-tendo

Go Report Card Build Status codecov license

Go application used to walk a Go project and report on the number of structs, methods and functions in each package.

 ██████╗  ██████╗    ████████╗███████╗███╗   ██╗██████╗  ██████╗ 
██╔════╝ ██╔═══██╗   ╚══██╔══╝██╔════╝████╗  ██║██╔══██╗██╔═══██╗
██║  ███╗██║   ██║█████╗██║   █████╗  ██╔██╗ ██║██║  ██║██║   ██║
██║   ██║██║   ██║╚════╝██║   ██╔══╝  ██║╚██╗██║██║  ██║██║   ██║
╚██████╔╝╚██████╔╝      ██║   ███████╗██║ ╚████║██████╔╝╚██████╔╝
 ╚═════╝  ╚═════╝       ╚═╝   ╚══════╝╚═╝  ╚═══╝╚═════╝  ╚═════╝ 

Usage

After building and installing go-tendo into a known path, navigate to the desired Go project and use the following command:

go-tendo [--log={logLevel}] {targetPath}

example

go-tendo --log=info ./

This command sets the logging level to output info related elements only, and inspect the source code at the target path of ./

Sample Output

Log Levels

  • LogAll - All output is displayed
  • LogTrace - Trace and above (e.g., trace, info, warnings and errors) output is displayed
  • LogInfo - Info related output and above is displayed
  • LogWarnings - Default output is displayed along with any warnings or errors
  • LogErrors - Default output is displayed along with any errors

License

MIT