Commit Graph

41 Commits

Author SHA1 Message Date
Kirill Zhuravlev
0fe344a1a9
rename templates 2023-04-03 08:16:25 -03:00
Kirill Zhuravlev
c9d9bfbf14
rename fn 2023-04-03 08:16:25 -03:00
Kirill Zhuravlev
6d6f8b3109
remove redundant file (redirects already in config) 2023-04-03 08:16:25 -03:00
Kirill Zhuravlev
a868ca431b
parse url with url.Parse 2023-04-03 08:16:25 -03:00
Kirill Zhuravlev
0215981b89
++ 2023-04-03 08:16:24 -03:00
Kirill Zhuravlev
5a7a10e3f4
fixme 2023-04-03 08:16:23 -03:00
Kirill Zhuravlev
270d554b95
handle error in extractCategories 2023-04-03 08:16:23 -03:00
Kirill Zhuravlev
44ea02d965
remove redundant 'unable to' from errors 2023-04-03 08:16:23 -03:00
Kirill Zhuravlev
8353845a8c
query -> doc 2023-04-03 08:16:22 -03:00
Kirill Zhuravlev
045416c17d
rename + change signature 2023-04-03 08:16:22 -03:00
Kirill Zhuravlev
c6266ba8c9
move extractCategories closer to extractCategory 2023-04-03 08:16:21 -03:00
Kirill Zhuravlev
3710b307dd
all objects renamed to category 2023-04-03 08:16:21 -03:00
Kirill Zhuravlev
1bd37bb9ac
items -> links 2023-04-03 08:16:21 -03:00
Kirill Zhuravlev
839fcc0627
object -> category 2023-04-03 08:16:21 -03:00
Kirill Zhuravlev
1e1a153e52
extract "object extractor" 2023-04-03 08:16:21 -03:00
Kirill Zhuravlev
90bd8d65f3
inline call 2023-04-03 08:16:21 -03:00
Kirill Zhuravlev
e05067733e
extract drop/create dir func 2023-04-03 08:16:21 -03:00
Kirill Zhuravlev
897a6bc267
rename 2023-04-03 08:16:20 -03:00
Kirill Zhuravlev
361aee9820
wrap errors 2023-04-03 08:16:20 -03:00
Kirill Zhuravlev
2a6e7d9086
function chains splitted into lines 2023-04-03 08:16:20 -03:00
Kirill Zhuravlev
776c1fee45
fixme 2023-04-03 08:16:20 -03:00
Kirill Zhuravlev
49e5c3ed2d
make function private as others 2023-04-03 08:16:20 -03:00
Kirill Zhuravlev
9bb5084a96
handle errors on render sitemap 2023-04-03 08:16:19 -03:00
Kirill Zhuravlev
3f3e953ef0
all panics removed from main package 2023-04-03 08:16:19 -03:00
Kirill Zhuravlev
084f2fcb05
pass all html's through goquery 2023-04-03 08:16:19 -03:00
Kirill Zhuravlev
34c5e361ee
rename function 2023-04-03 08:16:19 -03:00
Kirill Zhuravlev
258c4fb4d6
change unsafe strings.Replace to goquery.SetAttr 2023-04-03 08:16:19 -03:00
Kirill Zhuravlev
a2d1d19caf
panics -> errors with explanation 2023-04-03 08:16:19 -03:00
Kirill Zhuravlev
dba4bbd307
rename fn 2023-04-03 08:16:18 -03:00
Kirill Zhuravlev
b750341e0d
fixme 2023-04-03 08:16:18 -03:00
Kirill Zhuravlev
bf28343c15
add notes 2023-04-03 08:16:18 -03:00
Kirill Zhuravlev
b15a1ffc03
simple makeObjByID refactoring 2023-04-03 08:16:17 -03:00
Kirill Zhuravlev
d029cd932a
remove unnecessary pointers 2023-04-03 08:16:17 -03:00
Kirill Zhuravlev
994209cce9
notes 2023-04-03 08:16:17 -03:00
Kirill Zhuravlev
00bcb01584
use template.Must at program starts 2023-04-03 08:16:17 -03:00
Kirill Zhuravlev
dc33e720e7
change comments 2023-04-03 08:16:17 -03:00
Kirill Zhuravlev
8b819d98d2
log execution steps 2023-04-03 08:16:16 -03:00
Kirill Zhuravlev
43fe5dbe66
assets dir is part of staticFiles slice 2023-04-03 08:16:16 -03:00
Kirill Zhuravlev
05fe195266
cleanup output dir at start 2023-04-03 08:16:16 -03:00
Avelino
3238f9c430
extract file and dir constants
Signed-off-by: Avelino <avelinorun@gmail.com>
2023-04-03 08:16:02 -03:00
Kirill Zhuravlev
a0f6a55ba1
change code that works with filenames 2023-04-03 08:14:24 -03:00