Documentation ¶ Index ¶ type Storage func InitStorage(path string) *Storage func (s *Storage) Clear() error func (s *Storage) Load() (entity.SaveState, error) func (s *Storage) Save(save entity.SaveState) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Storage ¶ type Storage struct { // contains filtered or unexported fields } func InitStorage ¶ func InitStorage(path string) *Storage func (*Storage) Clear ¶ func (s *Storage) Clear() error func (*Storage) Load ¶ func (s *Storage) Load() (entity.SaveState, error) func (*Storage) Save ¶ func (s *Storage) Save(save entity.SaveState) Source Files ¶ View all Source files storage.go Click to show internal directories. Click to hide internal directories.