1
0

Add debian code names

This commit is contained in:
dump_stack() 2023-05-11 22:17:46 +00:00
parent ad0a3706cb
commit 83c1ca303c
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

25
distro/debian/debian.go Normal file
View File

@ -0,0 +1,25 @@
package debian
type CodeName int
const (
Wheezy CodeName = iota
Jessie
Stretch
Buster
Bullseye
Bookworm
)
var CodeNameStrings = [...]string{
"Wheezy",
"Jessie",
"Stretch",
"Buster",
"Bullseye",
"Bookworm",
}
func (cn CodeName) String() string {
return CodeNameStrings[cn]
}