Add new "DefaultArchitecture" value

This commit is contained in:
Tianon Gravi 2017-06-01 14:24:33 -07:00
parent 840158dfc5
commit 68838fa86d
1 changed files with 9 additions and 5 deletions

View File

@ -42,12 +42,16 @@ type Manifest2822Entry struct {
Constraints []string `delim:"," strip:"\n\r\t "` Constraints []string `delim:"," strip:"\n\r\t "`
} }
var DefaultManifestEntry = Manifest2822Entry{ var (
Architectures: []string{"amd64"}, DefaultArchitecture = "amd64"
DefaultManifestEntry = Manifest2822Entry{
Architectures: []string{DefaultArchitecture},
GitFetch: "refs/heads/master", GitFetch: "refs/heads/master",
Directory: ".", Directory: ".",
} }
)
func (entry Manifest2822Entry) Clone() Manifest2822Entry { func (entry Manifest2822Entry) Clone() Manifest2822Entry {
// SLICES! grr // SLICES! grr