Fix duplication of new paths

This commit is contained in:
2024-08-13 10:25:22 +02:00
parent 1d71fe5aca
commit 205d4029be
2 changed files with 10 additions and 7 deletions

View File

@@ -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"`
}