Need help with clean-architecture-go?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

eminetto
519 Stars 75 Forks 30 Commits 6 Opened issues

Description

Clean Architecture sample

Services available

!
?

Need anything else?

Contributors list

# 141,422
golang
serverl...
aws-lam...
Docker
25 commits

Clean Architecture in Go

Build Status

Clean Architecture sample

Post

https://medium.com/@eminetto/clean-architecture-using-golang-b63587aa5e3f

Build

make

Run tests

make test

API requests

Add a bookmark

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"
}'

Search a bookmark

curl "http://localhost:8080/v1/bookmark?name=github" \
     -H 'Content-Type: application/json' \
     -H 'Accept: application/json'

Show all bookmarks

curl "http://localhost:8080/v1/bookmark" \
     -H 'Content-Type: application/json' \
     -H 'Accept: application/json'

CMD

Search for a bookmark

./bin/search github

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.