state

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(path string, v *workspace.Workspace) error

Load

@brief: Load loads the file at path into v. @ Use os.IsNotExist() to see if the returned error is due @ to the file being missing.Save saves a representation of v to the file at path. @ @params: path string - the path to the file to load from @ v interface{} - the object to load into @ @returns: error - the error if any

func Save

func Save(path string, v interface{}) error

Save

@brief: Save saves a representation of v to the file at path. @ @params: path string - the path to the file to save to @ v interface{} - the object to save @ @returns: error - the error if any

Types

This section is empty.

Jump to

Keyboard shortcuts

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