https://github.com/kazimovzaman2/go-urlshort
Code an http.Handler that forwards paths to other URLs (similar to Bitly).
https://github.com/kazimovzaman2/go-urlshort
go golang
Last synced: 3 months ago
JSON representation
Code an http.Handler that forwards paths to other URLs (similar to Bitly).
- Host: GitHub
- URL: https://github.com/kazimovzaman2/go-urlshort
- Owner: kazimovzaman2
- License: mit
- Created: 2023-11-17T14:47:49.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-18T14:48:15.000Z (over 1 year ago)
- Last Synced: 2025-01-13T12:48:34.495Z (5 months ago)
- Topics: go, golang
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go-URLShort
The goal of this project is to create an http. The handler will look at the path of any incoming web request and determine if it should redirect the user to a new page, much like a URL shortener would.
For instance, if we have a redirect setup for /dogs to https://www.somesite.com/a-story-about-dogs we would look for any incoming web requests with the path /dogs and redirect them.