Documentation ¶
Index ¶
- func Week() int
- type Editor
- func (e *Editor) Create(templateName, pathToTemplate string, useSampleTemplate bool) error
- func (e *Editor) Delete(templateName string) error
- func (e *Editor) Edit(templateName string) error
- func (e *Editor) List() error
- func (e *Editor) New(fileName, filePath, templateName string, useNextWeek bool) error
- type FileStore
- func (fstore *FileStore) CreateFile(fileName, filePath string) (afero.File, error)
- func (fstore *FileStore) CreateTemplate(templateName, pathToTemplate string, useSample bool) error
- func (fstore *FileStore) DeleteTemplate(templateName string) error
- func (fstore *FileStore) EditTemplate(templateName string) error
- func (fstore *FileStore) GetPathToTemplate(templateName string) string
- func (fstore *FileStore) ListTemplates() ([]os.FileInfo, error)
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Editor ¶
type Editor struct {
// contains filtered or unexported fields
}
type FileStore ¶
type FileStore struct {
// contains filtered or unexported fields
}
func (*FileStore) CreateFile ¶
func (*FileStore) CreateTemplate ¶
func (*FileStore) DeleteTemplate ¶
func (*FileStore) EditTemplate ¶
func (*FileStore) GetPathToTemplate ¶
Click to show internal directories.
Click to hide internal directories.