This project demonstrates a basic setup of a RESTful API with user management using Go, Gin, GORM, PostgreSQL, and Google Wire. It supports basic CRUD operations.
Use below command to install and move to root directory
git clone https://github.com/Abhishek-Shukla1989/Go--Hotel-Management.git
cd go--hotel-management
go mod tidy
createdb restdb
db_dsn = your_database_url
POST = add your port i.e 8000/9000
air // this will run the project
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.