A simple tool to find out where a URL redirects
go install github.com/jorgejr568/wheregoes@latestwheregoes https://maps.google.com
# Output:
# ❯ wheregoes https://maps.google.com
# URL: https://www.google.com/maps
# Final URL: https://www.google.com/maps
#
# 1 ....... https://maps.google.com (302)
# 2 ....... https://maps.google.com/maps (302)
# 3 ....... https://www.google.com/maps (200)wheregoes http://localhost:8080
# Output:
# ❯ wheregoes http://localhost:8080
# URL: http://localhost:8080
# Final URL: http://localhost:8080
#
# 1 ....... http://localhost:8080 (200)You can also run wheregoes as a server:
wheregoes serveThis starts an HTTP server on port 8080 with REST API and WebSocket support for real-time URL tracking.
This project has comprehensive test coverage. See TESTING.md for detailed information about:
- Test structure and coverage reports
- Running different types of tests
- CI/CD pipeline
- Test philosophy and best practices
Quick test commands:
# Run all tests
make test
# Generate coverage report
make coverage
# Run comprehensive test suite
./scripts/test.shCurrent test coverage: 95.5% on core functionality