mirror of
https://github.com/spf13/cobra
synced 2025-04-04 22:09:11 +00:00
Unify indentation in example project structure
This commit is contained in:
parent
4220a0b60a
commit
08fa116823
1 changed files with 7 additions and 7 deletions
|
@ -4,13 +4,13 @@ While you are welcome to provide your own organization, typically a Cobra-based
|
|||
application will follow the following organizational structure:
|
||||
|
||||
```console
|
||||
▾ appName/
|
||||
▾ cmd/
|
||||
add.go
|
||||
your.go
|
||||
commands.go
|
||||
here.go
|
||||
main.go
|
||||
▾ appName/
|
||||
▾ cmd/
|
||||
add.go
|
||||
your.go
|
||||
commands.go
|
||||
here.go
|
||||
main.go
|
||||
```
|
||||
|
||||
In a Cobra app, typically the main.go file is very bare. It serves one purpose: initializing Cobra.
|
||||
|
|
Loading…
Reference in a new issue