add storage interface, fix all references

This commit is contained in:
nkanaev
2026-06-10 22:24:04 +01:00
parent 3f10371975
commit f2556178b3
9 changed files with 65 additions and 57 deletions

View File

@@ -14,7 +14,7 @@ type Middleware struct {
Password string
BasePath string
Public []string
DB *storage.Storage
DB storage.Storage
}
func (m *Middleware) Handler(c *router.Context) {