feat: listando os produtos

This commit is contained in:
2026-07-14 22:37:11 -03:00
parent d0b5884958
commit 0315a20b2a
3 changed files with 36 additions and 9 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ func (e *Inventory) AdicionarProduto(i *ProductInput) *Product {
return &product
}
func (e *Inventory) ListarProduto() []Product {
func (e *Inventory) ListarProdutos() []Product {
return e.products
}