style(Main.go): Removed whitespaces

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

10
main.go
View file

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