summaryrefslogtreecommitdiff
path: root/entry.go
diff options
context:
space:
mode:
Diffstat (limited to 'entry.go')
-rw-r--r--entry.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/entry.go b/entry.go
index 43547e8..ad34a03 100644
--- a/entry.go
+++ b/entry.go
@@ -74,8 +74,3 @@ func EntriesSince(since time.Time) (entries []Entry, err error) {
err = db.Select(&entries, "SELECT * FROM entries WHERE started_at > ?;", since)
return
}
-
-func FirstEntry() (entry Entry, err error) {
- err = db.Get(&entry, "SELECT * FROM entries ORDER BY started_at ASC LIMIT 1;")
- return
-}