Commit Graph

25 Commits

Author SHA1 Message Date
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