A command-line tool to fetch a URL and log the response status.
- Make sure you have Go installed.
- Clone this repository:
git clone https://github.com/username/repo.git
- Navigate to the project directory:
cd project-name
- Run the tool with a URL and log path:
go run main.go [url] [logPath]
Replace [url] with the URL you want to check and [logPath] with the path to the log file.
Example:
healthcheck.exe https://example.com logs/log.txt