Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 514 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 514 Bytes

Simple URL Checker

A command-line tool to fetch a URL and log the response status.

Usage

  1. Make sure you have Go installed.
  2. Clone this repository: git clone https://github.com/username/repo.git
  3. Navigate to the project directory: cd project-name
  4. 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