[Work in Progress] Use go and redis to implement basic shorten url service.
-
You need a redis service and run it up.
-
Run this service
go run main.go
Given a short id, it will redirect to target url if found. If not found, it will return 400.
{
"URL": "http://google.com"
}
{
"URL": "https://github.com/vicky-sunshine",
"ID": "855215"
}