Installation. make sure you have installed all your mod dependencies first.
Setup Enviroment variables.
export $(cat .env)
The run server.
go run main.go
to try msgpack please go to tool and then run:
go run msgpack.go
{
"url":"https://google.com"
}
{
"code": "eSshzhbGg",
"url": "http://google.com",
"created_at": 1608844847
}
GET http://localhost:9000/eSshzhbGg
Will render http://google.com