Documentation ¶ Index ¶ Variables type History func New(file string) (History, error) Constants ¶ This section is empty. Variables ¶ View Source var HistoryDir = tools.MyPathTo("history") Functions ¶ This section is empty. Types ¶ type History ¶ type History interface { // GetAll retrieves all the items and returns only the commands as a string slice GetAll() ([]string, error) // Append a command to the history Append(command string) error } func New ¶ func New(file string) (History, error) Source Files ¶ View all Source files history.go Click to show internal directories. Click to hide internal directories.