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() }