diff options
author | Teddy Wing | 2017-06-03 15:26:16 +0200 |
---|---|---|
committer | Teddy Wing | 2017-06-03 15:26:16 +0200 |
commit | b9c75fc559a5d79042e419cba8a9b5a4546c9b6d (patch) | |
tree | 17ee42774516b8e9ffb159b72213f772783d4b6d /templates | |
parent | 194f180cbc2cdf8f739b83296e26ea8805d2c122 (diff) | |
download | timetasker-b9c75fc559a5d79042e419cba8a9b5a4546c9b6d.tar.bz2 |
Remove generator.go, templates/ directory
These are not needed in the new world where we only submit a single time
entry at a time and entry parameters are filled in on the command line.
My guess is we'll likely have some sort of generator in the future to
create the initial `config.toml` file, but that won't contain any
logic-based data. My guess is we'll probably be able to just stick it in
a template string right inside a *.go file.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/timesheet.yml.tmpl | 11 | ||||
-rw-r--r-- | templates/weekly_timesheet.yml.tmpl | 3 |
2 files changed, 0 insertions, 14 deletions
diff --git a/templates/timesheet.yml.tmpl b/templates/timesheet.yml.tmpl deleted file mode 100644 index 1930b09..0000000 --- a/templates/timesheet.yml.tmpl +++ /dev/null @@ -1,11 +0,0 @@ -{{- define "timesheet" -}} -- client: {{.Client}} - project: {{.Project}} - module: {{.Module}} - task: {{.Task}} - work_type: {{.WorkType}} - date: {{.Date.Format "02/01/06"}} - time: {{.Time}} - billable: {{.Billable}} - description: {{.Description}} -{{ end -}} diff --git a/templates/weekly_timesheet.yml.tmpl b/templates/weekly_timesheet.yml.tmpl deleted file mode 100644 index 0ea6582..0000000 --- a/templates/weekly_timesheet.yml.tmpl +++ /dev/null @@ -1,3 +0,0 @@ -{{- range . -}} - {{- template "timesheet" . -}} -{{- end -}} |