mirror of
https://github.com/ChronosX88/yans.git
synced 2024-11-08 22:51:00 +00:00
13 lines
233 B
Go
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)
|
|
}
|