style(Main.go): Removed whitespaces
This commit is contained in:
parent
57f23b05a2
commit
995ef1aed9
1 changed files with 4 additions and 6 deletions
10
main.go
10
main.go
|
|
@ -8,19 +8,18 @@ import (
|
|||
"os"
|
||||
)
|
||||
|
||||
|
||||
func main() {
|
||||
|
||||
logger := Lotus.Logger("mainThread")
|
||||
|
||||
Lotus.CheckIfRegistryListExists()
|
||||
|
||||
app := &cli.App {
|
||||
app := &cli.App{
|
||||
Name: "lotus-pm",
|
||||
Usage: "Lotus Package Manager",
|
||||
Authors: Informations.GetAuthors(),
|
||||
Copyright: "(c) 2021 LPM-Group",
|
||||
Commands: []*cli.Command {
|
||||
Commands: []*cli.Command{
|
||||
Commands.NewPushCommand(),
|
||||
Commands.NewInstallCommand(),
|
||||
Commands.NewSearchCommand(),
|
||||
|
|
@ -28,9 +27,8 @@ func main() {
|
|||
},
|
||||
}
|
||||
|
||||
|
||||
err := app.Run(os.Args)
|
||||
if err != nil{
|
||||
if err != nil {
|
||||
logger.Fatal(err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue