Removed Stuff

This commit is contained in:
netbenix 2021-11-06 20:54:52 +01:00
parent 5e30a85098
commit 24891071f8
4 changed files with 4 additions and 29 deletions

View file

@ -1,8 +0,0 @@
package Lotus
type Checksum struct{
MD5 string
SHA1 string
SHA256 string
SHA512 string
}

View file

@ -1,13 +0,0 @@
package Lotus
type Package struct {
Publisher string
Name string
Version string
Description string
Tags Tags
PackageSize int64
Checksums Checksum
Architecture string
Dependencies []Package
}

View file

@ -1,3 +0,0 @@
package Lotus
type Tags []string

View file

@ -4,11 +4,11 @@ import (
"github.com/urfave/cli/v2" "github.com/urfave/cli/v2"
"lpm-cli/Commands" "lpm-cli/Commands"
"lpm-cli/Informations" "lpm-cli/Informations"
"lpm-cli/Tools" . "lpm-cli/Logging"
. "lpm-cli/logging"
"os" "os"
) )
func main() { func main() {
Logger.Init() Logger.Init()
@ -26,8 +26,7 @@ func main() {
}, },
} }
err := app.Run(os.Args) err := app.Run(os.Args)
if err != nil { ErrorHandler.HandleFatal(err)
Logger.Fatal(err)
}
} }