Initial commit

This commit is contained in:
George Suntres
2026-03-29 12:24:50 -04:00
commit 02c4f91f4b
7 changed files with 529 additions and 0 deletions

18
adaptor.go Normal file
View File

@@ -0,0 +1,18 @@
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)
}