From 2c9ae6a5a27ae2f2e23495c613e7a53aed8e786c Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Thu, 18 May 2017 11:01:13 +0200 Subject: Add Cross SDKs support (part 2) --- lib/xdsconfig/folderconfig.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/xdsconfig') diff --git a/lib/xdsconfig/folderconfig.go b/lib/xdsconfig/folderconfig.go index e32f46a..bb2b56f 100644 --- a/lib/xdsconfig/folderconfig.go +++ b/lib/xdsconfig/folderconfig.go @@ -29,13 +29,14 @@ type FolderConfig struct { SyncThingID string `json:"syncThingID"` BuilderSThgID string `json:"builderSThgID"` Status string `json:"status"` + DefaultSdk string `json:"defaultSdk"` // Not exported fields RootPath string `json:"-"` } // NewFolderConfig creates a new folder object -func NewFolderConfig(id, label, rootDir, path string) FolderConfig { +func NewFolderConfig(id, label, rootDir, path string, defaultSdk string) FolderConfig { return FolderConfig{ ID: id, Label: label, @@ -44,6 +45,7 @@ func NewFolderConfig(id, label, rootDir, path string) FolderConfig { SyncThingID: "", Status: FolderStatusDisable, RootPath: rootDir, + DefaultSdk: defaultSdk, } } -- cgit