Clean Architecture sample
https://medium.com/@eminetto/clean-architecture-using-golang-b63587aa5e3f
make
make test
curl -X "POST" "http://localhost:8080/v1/bookmark" \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d $'{
"tags": [
"git",
"social"
],
"name": "Github",
"description": "Github site",
"link": "http://github.com"
}'
curl "http://localhost:8080/v1/bookmark?name=github" \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
curl "http://localhost:8080/v1/bookmark" \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
./bin/search github