Files
structful/adaptor.go
George Suntres 02c4f91f4b Initial commit
2026-03-29 12:24:50 -04:00

19 lines
348 B
Go

package structful
type IAdaptor interface {
Save(data map[string]any) error
GetWithFilter(filter map[string]any) ([]map[string]any, error)
// GetSysDb returns the name of the database to use.
GetDb() string
// GetName the collection to store structful data.
GetName() string
CheckHash(string) bool
List() ([]map[string]any, error)
}