stopwatch

command module
v0.0.0-...-ea70059 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2017 License: MIT Imports: 16 Imported by: 0

README

Stopwatch

A simple software for tracking time spent on different tasks.

Uses go-astilectron for Golang/Electron binding.

Features

  • Add tasks, grouped into named groups.
  • Start & Stop timer per task.
  • History of last used tasks for easy switching.
  • Edit groups & task details.
  • Get a table of time used per cost code for a group.
  • Ability to choose database to work with (cli option)

TODO

  • Deletion of tasks & groups
  • Editing of recorded time to fix mishaps (eg. forgot to stop task).
    • Already in the CLI (see dumper).

Screenshots

Group view Group view Group view

Requirements

  • You should have Go installed and set up.
  • Uses Makefiles for build automation, so you should have make installed.
  • wget is required for automatically downloading vendored packages
  • asar is used for bundling UI resources
    • npm install -g asar
  • angular-cli for UI scaffolding.
  • go-bindata is used for packing binary files into executable.
    • go get -u github.com/lestrrat/go-bindata/...
  • go-homedir
    • go get -u github.com/mitchellh/go-homedir
  • go-astilectron
    • go get -u github.com/asticode/go-astilectron
  • Windows builds tested using git bash.

Building

Make sure you have the requirements installed and run the following commands:

go get -u github.com/msepp/stopwatch/...
cd $GOPATH/src/github.com/msepp/stopwatch
make

This will build the sample for your OS/Arch, if supported.

Building non-host targets happens with make stopwatch-GOOS-ARCH[.exe], where GOOS, ARCH should be replaced with target values.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package stopwatchapp contains utilities and functions for easy bootsrapping of an go GUI software
Package stopwatchapp contains utilities and functions for easy bootsrapping of an go GUI software

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL