From 5b2097cd2ed016f78ae2c2bcc068dfe3f42e44bd Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Fri, 27 Sep 2024 14:37:29 +0200 Subject: 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 --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 3fec32c..17fc593 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ tmp/ +ideez +ideas.data -- cgit v1.2.3