/go-clean-webapp

clean architecture GO

Primary LanguageGoApache License 2.0Apache-2.0

go-clean-webapp

Clean Architecture GO

Usage

  1. docker-compose up -d
  2. go generate && make
  3. ./bin/webapp i
  4. ./bin/webapp s

API

http://localhost:8080
POST /accounts
{
  "first_name": "hoge",
  "last_name": "fuga"
}

http://localhost:8080
GET /accounts

http://localhost:8080
GET /accounts/{accountUUID}

http://localhost:8080
DELETE /accounts/{accountUUID}