1
0
out-of-tree/distro/debian/debian.go

26 lines
291 B
Go
Raw Normal View History

2023-05-11 22:17:46 +00:00
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]
}