|
48e7a86312
|
Part of GetArticle() for loading an article from a file was moved out to init() func.
|
2023-09-24 20:00:17 +04:00 |
|
|
72b09218f8
|
In web/articles.go made use of a constructor. Also, since a constructor returns a pointer, map also now stores a pointer to Article.
|
2023-09-24 19:05:22 +04:00 |
|
|
ff70cd8ade
|
Fixed a comment for GetArticleMetadata() func. It is actually is being sorted by ID, not data.
|
2023-09-23 04:25:32 +04:00 |
|
|
fbb4389065
|
In GetArticle() func removed unnecessary else {} nesting.
|
2023-09-23 04:23:33 +04:00 |
|
|
5802410fa4
|
GetArticlesMetadata() -> GetArticleMetadata()
|
2023-07-29 17:59:36 +04:00 |
|
|
f18cc3c44e
|
Code for articles fs moved out to a separate articles.go file.
Implemented an init func that preload articles.
Implemented GetArticlesMetadata() that returns metadata for articles used on the Stuff page.
|
2023-05-23 04:08:58 +04:00 |
|