package
0.4.9
Repository: https://github.com/playerr9/mygolib.git
Documentation: pkg.go.dev

# Functions

DoWithBackup executes a function with a backup of the subject object.
NewCommand creates a new command with the given execute and undo functions.
NewHistory creates a new history with the given data.
NewVerbose creates a new Verbose struct.
PrintPointer generates a string representation of a pointer at a given distance.

# Constants

PointerArrow is the arrow used to indicate the current position of the pointer.

# Structs

Command represents a generic command that can be executed and undone.
History represents a history of commands that can be executed and undone.
Verbose is a struct that can be used to print verbose output.

# Interfaces

Backuper is an interface that represents a type that can be backed up and restored.
Commander is an interface that represents a command that can be executed and undone.