# Functions
AddSaveable is an option that adds a given saveable as one that should be saved under the given name.
NewNoopStateManager constructs a state manager.
NewStateManager constructs a new StateManager which saves data at the location specified in cfg and operates under the given options.
# Constants
The current version of saved data.
# Structs
NoopStateManager is a state manager that succeeds for all reads/writes without even trying; it allows disabling of state serialization by being a drop-in replacement so no other code need be concerned with it.
# Interfaces
Saveable types should be able to be json serializable and deserializable Properly, this should have json.Marshaler/json.Unmarshaler here, but string and so on can be marshaled/unmarshaled sanely but don't fit those interfaces.
Saver is a type that can be saved.
A StateManager can load and save state from disk.
# Type aliases
Option functions are functions that may be used as part of constructing a new StateManager.