module
0.0.0-20240417183209-c08a82d94ad6
Repository: https://github.com/bruno-silverio/goapi.git
Documentation: pkg.go.dev
# README
API Go
Getting Started
Documentation: https://go.dev/doc/
Examples: https://gobyexample.com/
Prerequisites
The things you need before installing the software.
- Visual Studio Code
- Install Go
- Docker
Usage
A few examples of useful commands and/or tasks.
$ go run main.go --> To start the webserver, put the code in main.go and use go run.
$ go mod tidy --> Works by loading all of the packages in the main module and all of the packages they import, recursively.
$ docker-compose up -d --> To start the docker.
$ docker-compose exec mysql bash --> Start de mysql
$ mysql -uroot -p goapi
$ root
Order of development
- Microservice Product API - Go
Results
POST category
GET category by ID
POST product
GET product by ID
GET product by category ID
# Packages
No description provided by the author