Use const for architectures and distributions

This commit is contained in:
Ciprian Hacman 2020-08-15 10:56:14 +03:00
parent 795373a499
commit 3825f657cc
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ import (
type Architecture string
var (
const (
ArchitectureAmd64 Architecture = "amd64"
ArchitectureArm64 Architecture = "arm64"
)

View File

@ -22,7 +22,7 @@ import (
type Distribution string
var (
const (
DistributionDebian9 Distribution = "debian9"
DistributionDebian10 Distribution = "buster"
DistributionXenial Distribution = "xenial"