Files
controle-de-estoque-cli/controller/controller.go
T

22 lines
354 B
Go
Raw Normal View History

package controller
import (
"bufio"
"controle-de-estoque/model"
"controle-de-estoque/view"
)
type Controller struct {
inventory *model.Inventory
}
func New(inventory *model.Inventory) *Controller {
return &Controller{inventory: inventory}
}
func (c *Controller) CapturarComando(scanner *bufio.Scanner) {
view.ExibirMenu()
// scanner.Scan()
}