Documentation ¶
Index ¶
- Constants
- func ReadRecent(list bool) error
- type Project
- func (p *Project) ApplayIssues(token string, existIssue *[]gitIssue)
- func (p Project) Delete() error
- func (p *Project) EditProject() error
- func (p *Project) FetchGitHubIssues(token string) ([]gitIssue, error)
- func (p Project) Format() (string, error)
- func (p Project) GetDate() time.Time
- func (p Project) GetPath() string
- func (p *Project) PrintTodos()
- func (p *Project) SaveProject() error
- func (pr *Project) WalkProject() error
- func (p Project) Write() error
- type ProjectManager
- func (pm *ProjectManager) DeleteByTitle(r io.Reader, n *[]Project) error
- func (pm *ProjectManager) GetNotes(p common.Period) ([]Project, error)
- func (p *ProjectManager) JoinNotesByTitle(notes *[]Project) (io.Reader, error)
- func (p *ProjectManager) JoinNotesWithContents(notes *[]Project) (io.Reader, error)
- func (pm *ProjectManager) Scan(r io.Reader, scanner ProjectScanner) ([]Project, error)
- type ProjectScanner
Constants ¶
View Source
const ( ENV_VAR = "/tmp/GO_SEQ_PROJECT.txt" PROJECTS_META = ".PROJECTS_META.json" )
View Source
const ( JOINED_DELETE = "/tmp/.go_seq_projects_joined.md" JOINED = "/tmp/.go_seq_projects_joined.md" )
Variables ¶
This section is empty.
Functions ¶
func ReadRecent ¶
Types ¶
type Project ¶
type Project struct { Name string `json:"name"` Owner string `json:"owner"` DefaultBranch string `json:"default_branch"` Url string `json:"repo_url"` Issues []map[string][]todo.Todo Location string `json:"location"` NotePath string `json:"note_path"` }
func ListProjects ¶
func NewProject ¶
func PickProject ¶
func (*Project) ApplayIssues ¶
func (*Project) EditProject ¶
func (*Project) FetchGitHubIssues ¶
func (*Project) PrintTodos ¶
func (p *Project) PrintTodos()
func (*Project) SaveProject ¶
func (*Project) WalkProject ¶
type ProjectManager ¶
type ProjectManager struct{}
func NewProjectManager ¶
func NewProjectManager() *ProjectManager
func (*ProjectManager) DeleteByTitle ¶
func (pm *ProjectManager) DeleteByTitle(r io.Reader, n *[]Project) error
func (*ProjectManager) GetNotes ¶
func (pm *ProjectManager) GetNotes(p common.Period) ([]Project, error)
func (*ProjectManager) JoinNotesByTitle ¶
func (p *ProjectManager) JoinNotesByTitle(notes *[]Project) (io.Reader, error)
func (*ProjectManager) JoinNotesWithContents ¶
func (p *ProjectManager) JoinNotesWithContents(notes *[]Project) (io.Reader, error)
func (*ProjectManager) Scan ¶
func (pm *ProjectManager) Scan(r io.Reader, scanner ProjectScanner) ([]Project, error)
type ProjectScanner ¶
type ProjectScanner struct {
// contains filtered or unexported fields
}
func NewDNoteScanner ¶
func NewDNoteScanner(r io.Reader) *ProjectScanner
func (*ProjectScanner) Err ¶
func (s *ProjectScanner) Err() error
func (*ProjectScanner) Note ¶
func (s *ProjectScanner) Note() Project
func (*ProjectScanner) Scan ¶
func (s *ProjectScanner) Scan() bool
Click to show internal directories.
Click to hide internal directories.