preferences

package
v0.0.0-...-a4a601d Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenDirectoryPref

func OpenDirectoryPref(path string) error

func Save

func Save() error

func SaveDirectoryPref

func SaveDirectoryPref(path string) error

Types

type UserPreferences

type UserPreferences struct {
	OpenDirectory string `json:"open_directory"`
	SaveDirectory string `json:"save_directory"`
	Version       string `json:"version"`
}

func OpenPref

func OpenPref() (UserPreferences, error)

Jump to

Keyboard shortcuts

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