aboutsummaryrefslogtreecommitdiff
path: root/ideas.html
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-09-27 14:37:29 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-09-27 14:43:02 +0200
commit5b2097cd2ed016f78ae2c2bcc068dfe3f42e44bd (patch)
treeab047ebe3f342570978b487e4ea4d96bc0d0070c /ideas.html
parentf340f74e1d06aa588dd075f3922505878915da01 (diff)
Added datafile for persistent ideas
The data file uses a version number for debugging and is serialized into a data file, for now this is good enough but because of encapsulating the data in a struct there is no convenient way of appending to the Ideas slice. - Removed the Rating as it is not really constructive. - Added handling of SIGINT to keep the data even on exit from air of Ctrl-c - Removed example data - Use log instaed of fmt everywhere - Removed Makefile
Diffstat (limited to 'ideas.html')
-rw-r--r--ideas.html1
1 files changed, 0 insertions, 1 deletions
diff --git a/ideas.html b/ideas.html
index 14e86d3..284924d 100644
--- a/ideas.html
+++ b/ideas.html
@@ -45,7 +45,6 @@
{{ range .Ideas }}
<div class="idea">
<h2 class="title">{{.Title}}</h2>
- <p class="rating">{{.Rating}}/5</p>
<p class="description">{{.Description}}</p>
<p class="creation">by <span class="author">{{.Author}}</span> on <span class="date">{{.CreatedAt}}</span></p>
</div>