cmoscofian / meliponto

A simple CLI to facilitate punching hours into the ahgora system
MIT License
7 stars 2 forks source link

Delete punch rest client, service and handler. #9

Closed cmoscofian closed 4 years ago

cmoscofian commented 4 years ago

Meliponto - Pull Request

What kind of change does this PR introduces? (Your branch should reflect it...)


Before you push it are you sure that...


Now regarding your changes...

What is the current behavior?

Currently it does not have a rest client to handle DELETE method requests therefore not being able to delete a previous punch.

What is the expected behavior from your changes?

Now it does have a proper DELETE method client implementation, also a service to handle deleting a previous punch given a valid ID and a handler function to handle deleting a slice of previous punches asynchronously using channels and go routines.


Responsible

@cmoscofian