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"
|
"os"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
||||||
logger := Lotus.Logger("mainThread")
|
logger := Lotus.Logger("mainThread")
|
||||||
|
|
||||||
Lotus.CheckIfRegistryListExists()
|
Lotus.CheckIfRegistryListExists()
|
||||||
|
|
||||||
app := &cli.App {
|
app := &cli.App{
|
||||||
Name: "lotus-pm",
|
Name: "lotus-pm",
|
||||||
Usage: "Lotus Package Manager",
|
Usage: "Lotus Package Manager",
|
||||||
Authors: Informations.GetAuthors(),
|
Authors: Informations.GetAuthors(),
|
||||||
Copyright: "(c) 2021 LPM-Group",
|
Copyright: "(c) 2021 LPM-Group",
|
||||||
Commands: []*cli.Command {
|
Commands: []*cli.Command{
|
||||||
Commands.NewPushCommand(),
|
Commands.NewPushCommand(),
|
||||||
Commands.NewInstallCommand(),
|
Commands.NewInstallCommand(),
|
||||||
Commands.NewSearchCommand(),
|
Commands.NewSearchCommand(),
|
||||||
|
|
@ -28,9 +27,8 @@ func main() {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
err := app.Run(os.Args)
|
err := app.Run(os.Args)
|
||||||
if err != nil{
|
if err != nil {
|
||||||
logger.Fatal(err)
|
logger.Fatal(err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Reference in a new issue