go mod tidy
go test -race -cover ./... -coverprofile=coverage.out -covermode=atomic
go tool cover -html=coverage.out
docker-compose up -d
curl --location --request POST 'http://localhost:8985/inventario' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "Inventario 2022",
"user_id":"896edfeb-df9a-404d-944e-67efbc0011bc",
"items":[
{
"description": "Chocolate",
"price": 10.69,
"amount": 20
},
{
"description": "Refrigerante",
"price": 7.39,
"amount": 6
}
]
}'