1

I created a Golang hotel reservation application which uses GraphQL and dynamodb. I have a reservation module which has the CRUD functions. All the functions have their own APIs. like create has createReservation API, delete has deleteReservation API, and so on. I want to make a single API called Reservations as the unified API and it should direct to these functions. How to implement this?

I tried to connect the main.go file to multiple APIs. Like depending on the field it would direct to multiple handlers, but it's not working.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.