Documentation ¶
Index ¶
- func AddTodo(tx *sql.Tx, title string, handle string, effectiveTimeNow time.Time) error
- func CheckIn(tx *sql.Tx, argv []string, handle string, effectiveTimeNow time.Time) error
- func CloseAll(tx *sql.Tx, effectiveTimeNow time.Time) error
- func DurationRound(unrounded time.Duration, rnd time.Duration, bias time.Duration) time.Duration
- func GetTx(db *sql.DB) (*sql.Tx, error)
- func ListLogEntries(db *sql.DB, argv []string) error
- func LogEntry(tx *sql.Tx, argv []string, effectiveTimeNow time.Time) error
- func OpenDB(checkExists bool) (*sql.DB, error)
- func ParseHandle(args []string) (string, []string)
- func PrepareDB() error
- func RollbackOnError(tx *sql.Tx)
- func Running(db *sql.DB, argv []string, extra string, effectiveTimeNow time.Time)
- func ShowDays(db *sql.DB, argv []string, rounding time.Duration, bias time.Duration) error
- func ShowHeaders(db *sql.DB) error
- func ShowOrg(db *sql.DB, argv []string) error
- func ShowTimes(db *sql.DB, argv []string, rounding time.Duration, bias time.Duration) (err error)
- func ShowTodo(db *sql.DB, argv []string, handle string, limit int) error
- func TodoDone(tx *sql.Tx, argv []string, handle string, effectiveTimeNow time.Time) error
- func TodoUndo(tx *sql.Tx, argv []string, handle string) error
- func VerifyHandle(db *sql.DB, handle string, fixit bool) (string, error)
- func WithOpenDB(checkExists bool, fn func(*sql.DB) error) error
- func WithTransaction(fn func(*sql.DB, *sql.Tx) error) error
- type RowId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DurationRound ¶
func ParseHandle ¶
func ShowHeaders ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.