It make the link shorter.
Install dependencies:
go get
Build the application
go build
Start the application:
Note that you need to have elasticsearch running
ES_URL=http://localhost:9200 ./link-shortener
Run tests:
go test
We use go-vcr
to record HTTP requests as fixtures so if you add a new test, you'll need to spin up Elastic in order to record your request.
I'll put more info here later. This is kind of WIP right now.