Documentation
¶
Overview ¶
Package storage provides common storage utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
func Load(dataDir, name string, v json.Unmarshaler) error
Load reads a JSON snapshot from dataDir/{name}.json and unmarshals it into v. Returns nil if the file does not exist.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.