This project is an example implementation of a RESTful API backend in Go using the Gin framework. It demonstrates CRUD operations (Create, Read, Update, Delete) for managing user resources.
Features
Create a new user
Retrieve all users
Retrieve a specific user by ID
Update an existing user
Delete a user by ID
Project Structure
The project is structured into separate files for each functionality:
main.go: Initializes the server and sets up the Gin router.
create.go: Contains the handler function to create a new user.
read.go: Contains the handler functions to retrieve all users and retrieve a specific user by ID.
delete.go: Contains the handler function to delete a user by ID.