# README
File Progress Index Store
Stores current progress of a process index
Installation
go get github.com/matt9mg/go-file-progress-index-store
Examples
fpis, err := file_progress_store.NewFileProgressStore[string]("/my/file/location/file.json")
if err != nil {
log.Fatalln(err)
}
data := []string{"1", "2", "3"}
unprocessed := fpis.ReturnUnprocessed(data)
if len(data) > 0 {
// perform some business logic
if err := fpis.Save(unprocessed); err != nil {
log.Fatalln(err)
}
}
# Functions
NewFileProgressStore takes a storage file and its location and returns a FileProgressStore of its type or an error.
# Structs
No description provided by the author