Documentation ¶ Index ¶ type Command func (c *Command) Execute(m *Manager) type Manager func New() Manager func (m *Manager) Execute(command Command) func (m *Manager) GetPWD() *node.Node func (m *Manager) GoBack() func (m *Manager) Initialize() func (m *Manager) SetPWD(n *node.Node) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Command ¶ type Command struct { Text string } func (*Command) Execute ¶ func (c *Command) Execute(m *Manager) type Manager ¶ type Manager struct { Root *node.Node PWD *node.Node History []Command ValidCommands []Command } func New ¶ func New() Manager func (*Manager) Execute ¶ func (m *Manager) Execute(command Command) func (*Manager) GetPWD ¶ func (m *Manager) GetPWD() *node.Node func (*Manager) GoBack ¶ func (m *Manager) GoBack() func (*Manager) Initialize ¶ func (m *Manager) Initialize() func (*Manager) SetPWD ¶ func (m *Manager) SetPWD(n *node.Node) Source Files ¶ View all Source files manager.go Click to show internal directories. Click to hide internal directories.