command
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Apr 12, 2023
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
url-shortener
URL shortener service
Setup
git clone <repo url>
go run url-shortener/urlshortener.go
Create short URL
curl --fail-with-body -X POST http://localhost:8080/shorten -d "url=https://www.example.com"
Delete short URL
curl --fail-with-body -X DELETE "http://localhost:8080/delete?shortUrl=test123"
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.