state

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHomeDir

func GetHomeDir() (string, error)

func LoadConfig

func LoadConfig(home string) (*config.Config, error)

Types

type State

type State struct {
	Config      *config.Config
	Templater   *templater.Templater
	Handler     *handler.FileHandler
	ViewManager *views.ViewManager
	Views       map[string]views.View
	Home        string
	Vault       string
}

func NewState

func NewState() (*State, error)

Jump to

Keyboard shortcuts

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