Documentation
¶
Index ¶
- func ApplyFlags(cmd *cobra.Command, opts Opts)
- type AddOpts
- type DeleteOpts
- type GetOpts
- type HandlerFunc
- func Add(cfg *config.Config, db *_db.DB, opts *AddOpts) HandlerFunc
- func Delete(cfg *config.Config, db *_db.DB, opts *DeleteOpts) HandlerFunc
- func Get(cfg *config.Config, db *_db.DB, opts *GetOpts) HandlerFunc
- func Init(cfg *config.Config, db *_db.DB, lg *logger.Logger) HandlerFunc
- func Summarize(cfg *config.Config, db *_db.DB, opts *SummarizeOpts) HandlerFunc
- func ValidateOptions(cfg *config.Config, opts Opts) HandlerFunc
- type Opts
- type SummarizeOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyFlags ¶
Types ¶
type DeleteOpts ¶ added in v0.0.3
type DeleteOpts struct {
Interactive bool
}
type HandlerFunc ¶
func Delete ¶ added in v0.0.3
func Delete(cfg *config.Config, db *_db.DB, opts *DeleteOpts) HandlerFunc
func Summarize ¶
func Summarize(cfg *config.Config, db *_db.DB, opts *SummarizeOpts) HandlerFunc
func ValidateOptions ¶
func ValidateOptions(cfg *config.Config, opts Opts) HandlerFunc
type SummarizeOpts ¶
type SummarizeOpts struct {
Time timeOpts
}
Click to show internal directories.
Click to hide internal directories.