In our projects, we often use CRUD Service and we want a way to interact to it with a standard client.
At the moment, it is limited. The supported methods are:
- GetById:
GET - List:
GET / - Count:
GET /count - Export:
GET /export - PatchById:
PATCH /:id - PatchMany:
PATCH / - PatchBulk:
PATCH /bulk - Create:
POST / - DeleteById:
DELETE /:id - DeleteMany:
DELETE / - UpsertOne:
POST /upsert-one
If you need some other method, please add it with a PR.
To use it, install with
go get github.com/mia-platform/go-crud-service-clientTo run tests:
make testTo generate coverage report:
make coverage