Added "Package" DataType

This commit is contained in:
netbenix 2021-11-06 10:50:56 +01:00
parent b1c35b694a
commit fa891827e3
3 changed files with 24 additions and 0 deletions

8
Lotus/Checksums.go Normal file
View file

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

13
Lotus/Package.go Normal file
View file

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

3
Lotus/Tags.go Normal file
View file

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