1
0
Commit Graph

14 Commits

Author SHA1 Message Date
be5d0782b6
Changed Update() handler accordingly to a new logic. 2022-10-21 04:38:53 +04:00
6c08e4cb16
Now ID in Reply could be rendered as JSON. 2022-10-21 04:38:08 +04:00
b94b5caf4c
Added entryID arg to Update*() methods. So IDs could be changed. 2022-10-21 04:37:28 +04:00
6abae1d7ca
Added entry_id to change in UPDATE for an entry. 2022-10-21 04:36:41 +04:00
95b74985f0
Added entry_id to UPDATE to change for a reply. 2022-10-21 04:36:22 +04:00
8221da67eb
Switched ID and Created fields of a reply in Exec(). 2022-10-21 04:28:55 +04:00
121c3ff8fd
Implemented Count() and update and delete methods. 2022-10-21 04:25:15 +04:00
056985799f
Added Update() handler. A little reorganising in Entries(). 2022-10-21 04:24:07 +04:00
005330ff2c
Added new sql statements. In new reply entry_id and created swapped places. 2022-10-21 04:22:07 +04:00
49a92151e4
In entryGetAll.sql entry.message moved next to name. 2022-10-21 04:20:53 +04:00
d5b850d36b
Added log for a fail of retrieving entries. Added error handling and log for entries JSON encoding. 2022-10-21 03:22:57 +04:00
6aa2bd10ff
Made use of http.Error(). Removed error return from New() func. Added StatusCreated header to Reply() method. 2022-10-21 03:03:05 +04:00
059efc4004
Args website and message has swapped their places. 2022-10-21 03:01:01 +04:00
c6e719b5c1
Initial commit. 2022-10-19 03:25:43 +04:00