An open API service indexing awesome lists of open source software.

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).

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.