package main import ( "github.com/richardlehane/siegfried/internal/persist" "fmt" ) type MyData struct { Name string Age int } func main() { // create a new instance of MyData to save data := &MyData{Name: "Alice", Age: 30} // create a new LoadSaver instance to save the data ls := persist.NewLoadSaver("myfile.txt") // save the data to the persistent store ls.Save(data) // load the data back from the persistent store var loadedData MyData ls.Load(&loadedData) // display the loaded data fmt.Printf("Name: %s, Age: %d\n", loadedData.Name, loadedData.Age) }In this example, we create a new instance of MyData and save it to a persistent store using a LoadSaver instance. We then load the data back from the persistent store and display it. Overall, this package provides convenient utilities for data persistence using LoadSaver interface.