Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kashav/go-dead-link-detector
Find dead links in your source files.
https://github.com/kashav/go-dead-link-detector
Last synced: about 18 hours ago
JSON representation
Find dead links in your source files.
- Host: GitHub
- URL: https://github.com/kashav/go-dead-link-detector
- Owner: kashav
- License: mit
- Created: 2017-12-29T05:32:20.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-07-31T17:17:34.000Z (4 months ago)
- Last Synced: 2024-09-16T05:53:14.496Z (2 months ago)
- Language: Go
- Size: 101 KB
- Stars: 12
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dead-link-detector
Find dead links in your source files.
## Usage
```sh
$ git clone https://github.com/kashav/go-dead-link-detector
$ go build ./cmd/detector/main.go
$ ./detector -help
Usage of ./detector:
-f string
Output format (default "{{ .Filename }}:{{ .Line }}:{{ .Column }}: {{ .URL }} -> {{ .Result }}")
-i string
Regular expression to ignore
-n Hide "200 OK" responses
-o string
Output file or [stderr|stdout] (default "stdout")
-v Show version and exit
-w int
Number of workers (0 = number of CPUs)
```