style(Main.go): Removed whitespaces

This commit is contained in:
netbenix 2022-08-27 12:48:01 +02:00
parent 57f23b05a2
commit 995ef1aed9

View file

@ -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)
} }
} }