Commit Graph

4902 Commits

Author SHA1 Message Date
Kirill Zhuravlev
c5a97e6ec7
fix linter warnings 2023-04-03 08:16:25 -03:00
Kirill Zhuravlev
625df2fec3
handle error 2023-04-03 08:16:25 -03:00
Kirill Zhuravlev
6de5e8b19f
renderIndex moved to main.go 2023-04-03 08:16:25 -03:00
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
9f9087ab49
netlify 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
257a031f08
use constants from http pkg 2023-04-03 08:16:24 -03:00
Kirill Zhuravlev
c910a811d7
simplify some expressions 2023-04-03 08:16:24 -03:00
Kirill Zhuravlev
360d054d03
rename func 2023-04-03 08:16:24 -03:00
Kirill Zhuravlev
97074a851b
staleRepos -> warnings 2023-04-03 08:16:24 -03:00
Kirill Zhuravlev
c969fe29c4
refactor testCommitAge 2023-04-03 08:16:24 -03:00
Kirill Zhuravlev
8bac0087c0
refactor testRepoState 2023-04-03 08:16:24 -03:00
Kirill Zhuravlev
1e6ba5dd3e
embed struct inside func 2023-04-03 08:16:23 -03:00
Kirill Zhuravlev
07df6adfbc
return map of repos 2023-04-03 08:16:23 -03:00
Kirill Zhuravlev
105035402b
handle error 2023-04-03 08:16:23 -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
47f88e024c
refactoring 2 2023-04-03 08:16:23 -03:00
Kirill Zhuravlev
4f9028fc96
add lines between funcs 2023-04-03 08:16:22 -03:00
Kirill Zhuravlev
548d6ac097
high-level refactoring 2023-04-03 08:16:22 -03:00
Kirill Zhuravlev
d016486849
fixme 2023-04-03 08:16:22 -03:00
Kirill Zhuravlev
8ec7df333c
join functions 2023-04-03 08:16:22 -03:00
Kirill Zhuravlev
8353845a8c
query -> doc 2023-04-03 08:16:22 -03:00
Kirill Zhuravlev
4dd74a2b02
use requireNoErr 2023-04-03 08:16:22 -03:00
Kirill Zhuravlev
f2fb99dcca
mark help functions as helpers 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
494289eb6f
close file after write 2023-04-03 08:16:20 -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
ab3d9909a1
add paddings to table with sponsors 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
0c34360e82
replace p to div 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