diff options
| author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-09-30 09:36:58 +0200 | 
|---|---|---|
| committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-09-30 09:36:58 +0200 | 
| commit | 08d3d9aab4845b863d868ca0e43e21c9f7f54203 (patch) | |
| tree | d27cbd9109fb414172bcc85b3a20caada499f403 | |
| parent | 120a0812d599860a8168b53ba4ce007c9fb94d1b (diff) | |
Removed the comment coedv0.2.0
| -rw-r--r-- | main.go | 11 | 
1 files changed, 1 insertions, 10 deletions
| @@ -36,7 +36,6 @@ var Ideas []Idea  // ToDo's  // - [ ] Create a Server out of this so you can run multiple instances -// - [ ] Put a reaction on a post  // - [x] edit a post  // - [x] Store ideas to a file (encoder/gob)  // - [x] Change the date format printing @@ -53,14 +52,6 @@ type Idea struct {  	Text      string  	Author    string  	CreatedAt string -	Comment   []Comment -} - -// Represents a comment on an idea -type Comment struct { -	Text      string -	Author    string -	CreatedAt string  }  // Data passed to the ideas_html template @@ -168,7 +159,7 @@ func main() {  	}  	// TODO (Luca): Make the app more interactive by using websockets instead, -	// such that adding, editing or commenting on an idea does not require to +	// such that adding or editing does not require to  	// refresh the page.  	// Another approach would be to use htmx?  	// | 
