Fix duplication of new paths
This commit is contained in:
12
types.go
12
types.go
@@ -4,12 +4,12 @@ type Config struct {
|
||||
Entries []Entry `json:"entries"`
|
||||
}
|
||||
type Entry struct {
|
||||
FolderURI string `json:"folderUri,omitempty"`
|
||||
Workspace Workspace `json:"workspace,omitempty"`
|
||||
FileURI string `json:"fileUri,omitempty"`
|
||||
Label string `json:"label,omitempty"`
|
||||
FolderURI string `json:"folderUri,omitempty"`
|
||||
Workspace *Workspace `json:"workspace,omitempty"`
|
||||
FileURI string `json:"fileUri,omitempty"`
|
||||
Label string `json:"label,omitempty"`
|
||||
}
|
||||
type Workspace struct {
|
||||
ID string `json:"id"`
|
||||
ConfigPath string `json:"configPath"`
|
||||
ID string `json:"id,omitempty"`
|
||||
ConfigPath string `json:"configPath,omitempty"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user