Skip to content

borislassort/shorty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Shorty

A very simple URL shortener in-memory with Golang

go build -o shorty .

Usage

curl -X POST "http://localhost:8080/shorten?url=http://kernel.org"
{"longURL":"http://kernel.org","shortURL":"tIx7kV"}%
curl http://localhost:8080/tIx7kV
<a href="http://kernel.org">Moved Permanently</a>.

About

Very tidy in-memory URL shortener

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages