yans/internal/backend/storage_backend.go
2022-01-19 22:51:08 +03:00

13 lines
233 B
Go

package backend
import "github.com/ChronosX88/yans/internal/models"
const (
SupportedBackendList = "sqlite"
)
type StorageBackend interface {
ListGroups() ([]models.Group, error)
GetArticlesCount(g models.Group) (int, error)
}