Documentation ¶
Index ¶
- Constants
- func DefaultAccounts() *types.Accounts
- func DefaultClients() *types.Clients
- func DefaultConfig() *types.Config
- func DefaultInvoices() []*types.Invoice
- func DefaultProjects() []*types.Project
- func DefaultTemplates() []*types.Template
- type OSWrapper
- func (w *OSWrapper) Create(path string) (*os.File, error)
- func (w *OSWrapper) MkDirAll(path string, perm fs.FileMode) error
- func (w *OSWrapper) Open(name string) (fs.File, error)
- func (w *OSWrapper) Remove(path string) error
- func (w *OSWrapper) Rename(src, dst string) error
- func (w *OSWrapper) Stat(name string) (fs.FileInfo, error)
- type RWFS
Constants ¶
View Source
const ( PathConfigYaml = "config.yaml" PathAccountsYaml = "accounts.yaml" PathClientsYaml = "clients.yaml" PathProjects = "projects" PathTemplates = "templates" PathInvoices = "invoices" )
Variables ¶
This section is empty.
Functions ¶
func DefaultAccounts ¶
func DefaultClients ¶
func DefaultConfig ¶
func DefaultInvoices ¶
func DefaultProjects ¶
func DefaultTemplates ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.