aboutsummaryrefslogtreecommitdiff
path: root/brokenlinks.go
AgeCommit message (Collapse)Author
2025-06-12all: refactoring, move brokenlinks code to its own packageShulhan
When two or more struct has the same prefix that means it is time to move it to group it. Also, we will group one command to one package in the future.
2025-06-12all: rename the json field page_links to broken_linksShulhan
Naming it page_links does not make sense if the result is from brokenlinks command.
2025-06-05all: encode the whole BrokenlinksResult struct to JSONShulhan
Previously, we only encode the BrokenlinksResult.PageLinks. The struct may changes in the future, so its better to encode the whole struct now rather than changing the output later.
2025-06-05all: add option to scan pass resultShulhan
The brokenlinks command now have option "-past-result" that accept path to JSON file from the past result. If its set, the program will only scan the pages with broken links inside that report.
2025-06-05all: use snake case for JSON fields in Broken resultShulhan
2025-06-01all: rename the program and repository into jarinkShulhan
Jarink is a program to help web administrator to maintains their website. Currently its provides a command to scan for brokenlinks.