This is an example repository demonstrating a basic CRUD in Go using MySQL. MySQL is running in a Docker container using Docker Compose.
- Go 1.22 or higher
- Docker
- Docker Compose (for MySQL)
-
Clone the repository:
git clone https://github.com/duarty/go-mysql-crud.git
-
Navigate to the project directory:
cd gomysqlcrud
-
Run MySQL using Docker Compose:
docker-compose up -d
-
Run the application:
go run main.go
Contributions are welcome! For suggestions, improvements, or fixes, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.