Rework to match other .txt projects
This commit is contained in:
18
project.go
18
project.go
@@ -7,15 +7,15 @@ import (
|
||||
)
|
||||
|
||||
type Project struct {
|
||||
Id int // Internal project id
|
||||
Original string // Original raw project text
|
||||
Name string // The name of the project
|
||||
Directory string // The directory part of the project text
|
||||
Notes string // The filename of the notes file, defaults to Directory+/+notes.md
|
||||
Repo string // The directory to the git repository, defaults to Directory+/+Name
|
||||
Contexts []string
|
||||
ProjectTags []string
|
||||
AdditionalTags map[string]string
|
||||
Id int `json:"id"` // Internal project id
|
||||
Original string `json:"original"` // Original raw project text
|
||||
Name string `json:"name"` // The name of the project
|
||||
Directory string `json:"directory"` // The directory part of the project text
|
||||
Notes string `json:"notes"` // The filename of the notes file, defaults to Directory+/+notes.md
|
||||
Repo string `json:"repo"` // The directory to the git repository, defaults to Directory+/+Name
|
||||
Contexts []string `json:"contexts"`
|
||||
ProjectTags []string `json:"projectTags"`
|
||||
AdditionalTags map[string]string `json:"additionalTags"`
|
||||
}
|
||||
|
||||
// ParseProject parses the input text string into a Project struct
|
||||
|
||||
Reference in New Issue
Block a user