A fast URL shortener written in Go using Redis and Gin.
$ go get github.com/solarcreature/GoURL
-Redis
- $ redis-server
- $ go run main.go
curl --request POST
--data '{
"long_url": "example-url",
"user_id" : "example-userID"
}'
http://localhost:9808/create-short-url
{ "message": "short url created successfully", "short_url": "http://localhost:9808/example" }