1
0
Commit Graph

15 Commits

Author SHA1 Message Date
f1d6f5c736
In PostID() change date location to UTC and use seconds as part of ID as well. 2023-05-23 04:18:07 +04:00
2fb6176b50
Added NewCategory() func. And now NewCategory() method needs a Category as an arg. 2023-05-23 02:44:54 +04:00
16e2ff6ebc
In Mindflow interface renamed all methods that work with Post into *Post(). 2023-05-23 00:47:10 +04:00
a8a7e6427d
Well, GetCategoryByID() actually has no use. Let's get rid of it. 2023-05-23 00:44:42 +04:00
c7f421680e
In case a category would consist of multiple words replace white space with a dot. 2023-05-23 00:29:16 +04:00
0e28f8a16b
Impl. category editing. 2023-05-23 00:22:12 +04:00
1304399232
Added DeleteCategory() to Mindflow interface. 2023-05-22 23:06:14 +04:00
4e82fbddc1
Added functionality to delete unused categories from a DB. 2023-05-22 23:05:52 +04:00
0fbc121e38
Place Category and Post types into one mindflow.go. 2023-05-22 22:35:47 +04:00
5095c7649d
Implemented getting all categories. 2023-05-22 05:21:53 +04:00
38e5d9e4bf
GetAll() method was renamed to Posts(). 2023-05-22 05:21:00 +04:00
354c1b01f7
Added Close() method to Mindflow DB. Constructor renamed to New(). 2023-05-14 20:17:30 +04:00
b4ba80e02b
Added NewCategory and GetCategoryByID methods in Mindflow interface. 2023-05-14 03:52:28 +04:00
0903f2c2c6
Changed method signatures for Mindflow interface. 2023-05-14 03:36:13 +04:00
0dcd456e52
Added Mindflow interface. 2023-05-10 03:19:02 +04:00