Implement cleaning existing config
This commit is contained in:
18
types.go
18
types.go
@@ -1,9 +1,15 @@
|
||||
package main
|
||||
|
||||
type Project struct {
|
||||
Name string `json:"name"`
|
||||
RootPath string `json:"rootPath"`
|
||||
Paths []string `json:"paths"`
|
||||
Tags []string `json:"tags"`
|
||||
Enabled bool `json:"enabled"`
|
||||
type Config struct {
|
||||
Entries []Entry `json:"entries"`
|
||||
}
|
||||
type Workspace struct {
|
||||
ID string `json:"id"`
|
||||
ConfigPath string `json:"configPath"`
|
||||
}
|
||||
type Entry struct {
|
||||
FolderURI string `json:"folderUri,omitempty"`
|
||||
Workspace Workspace `json:"workspace,omitempty"`
|
||||
FileURI string `json:"fileUri,omitempty"`
|
||||
Label string `json:"label,omitempty"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user