storage

package
v0.0.0-...-7f515ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package storage handles the saving and loading of game data.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOption

func GetOption[T []byte | string | int | bool](option string, defaultValue T) (value T, err error)

GetOption retrieves an option from the saved storage.

func SetOption

func SetOption(option string, value string) (err error)

SetOption sets an option in saved storage.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL