Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SaveDir string
Functions ¶
func RetrieveObject ¶
Use json to retrieve an object from a file
func SaveAll ¶
func SaveAll(defs ...SaveDefinition)
func SaveObject ¶
Use json to save an object to a file
Types ¶
type SaveDefinition ¶
type SaveDefinition struct { File string Object interface{} }
Click to show internal directories.
Click to hide internal directories.