summaryrefslogtreecommitdiff
path: root/entry.go
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-08-29 18:51:30 +0200
committerAki <please@ignore.pl>2024-08-29 18:52:34 +0200
commit68a43471f81877bbeb9a152dc350a3dd170193bc (patch)
tree8674cc5b4fdccd0b48ed11c917e96248c87a4ec8 /entry.go
parent47916bdd0a782fe61d37b47bde09f6edceedce5f (diff)
downloadrudone-68a43471f81877bbeb9a152dc350a3dd170193bc.zip
rudone-68a43471f81877bbeb9a152dc350a3dd170193bc.tar.gz
rudone-68a43471f81877bbeb9a152dc350a3dd170193bc.tar.bz2
Removed "first visit" from summary
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
-}