diff options
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/structs.go b/structs.go new file mode 100644 index 0000000..c0d5cb1 --- /dev/null +++ b/structs.go @@ -0,0 +1,38 @@ +package main + +import ( + "sync" + + "go.wit.com/lib/gui/prep" +) + +// --- Configuration --- +// !!! IMPORTANT: Set your GPG Key ID here! +// Find it with: gpg --list-secret-keys --keyid-format=long +const gpgKeyID = "5D7C9BE47836D2FA48F83C2B4A854AEAF7E0E16D" + +const dist = "sid" +const component = "main" +const poolDir = "pool" +const distsDir = "dists" + +var architectures = []string{"amd64", "riscv64", "arm64", "all"} + +// DebInfo holds the control information for a single .deb package. +type DebInfo struct { + ControlData map[string]string + Filename string + Size int64 + MD5Sum string + SHA1Sum string + SHA256Sum string +} + +var me *mainType + +// this app's variables +type mainType struct { + once sync.Once // one-time initialized data + sh *prep.Auto // more experiments for bash handling + // forge *forgepb.Forge // your customized repo preferences and settings +} |
