goverview

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 8 Imported by: 0

README

goverview

Go Reference

goverview provides an overview as ASCII tree for a Golang project.

Usage

$ goverview ~/go/src/github.com/bayashi/goverview

┌ goverview/
├─┬ .github/
│ └─┬ workflows/
│   └── run-tests.yaml
├── .gitignore
├── LICENSE: License MIT
├── README.md
├──* arg.go: main
├──* builder.go: main
├──* cmd.go: main
├─┬ fileinfo/
│ ├──* fileinfo.go: fileinfo
│ │     Struct: FileInfo
│ ├──* go.go: fileinfo
│ │     Func: GoInfo
│ ├──* gomod.go: fileinfo
│ │     Func: GoModInfo
│ └──* license.go: fileinfo
│       Func: LicenseInfo
├── go.mod: go 1.19
├── go.sum
└──* main.go: main

You can see also private stuff with -a option.

$ goverview ~/go/src/github.com/bayashi/goverview -a

┌ goverview/
├─┬ .github/
│ └─┬ workflows/
│   └── run-tests.yaml
├── .gitignore
├── LICENSE: License MIT
├── README.md
├──* arg.go: main
│     struct: options
│     func: parseArgs
├──* builder.go: main
│     struct: walkerArgs
│     func: fromLocal, validateDirPath, buildTree, isSkipPath, walkProcess, getFileInfo
├──* cmd.go: main
│     func: putErr, putUsage, putHelp
├─┬ fileinfo/
│ ├──* fileinfo.go: fileinfo
│ │     Struct: FileInfo
│ ├──* go.go: fileinfo
│ │     struct: organizer
│ │     Func: GoInfo
│ │     func: goInfoProcessIdent, buildDescriptions
│ ├──* gomod.go: fileinfo
│ │     Func: GoModInfo
│ └──* license.go: fileinfo
│       Func: LicenseInfo
├── go.mod: go 1.19
├── go.sum
└──* main.go: main
      func: main, run

Full options:

Version v0.0.1
Usage: goverview [OPTIONS] DIR
Options:
  -h, --help                 Show help (This message) and exit
      --ignore stringArray   Ignore path to show if a given string would match
  -a, --show-all             Show all stuff

Installation

go install github.com/bayashi/goverview@latest

License

MIT License

Author

Dai Okabayashi: https://github.com/bayashi

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL