craban/server/api/api.go

14 lines
198 B
Go
Raw Normal View History

2021-09-12 20:57:59 +01:00
package api
import (
"git.ctrlz.es/mgdelacroix/craban/services/store"
)
type API struct {
store *store.Store
}
func NewAPI(store *store.Store) (*API, error) {
return &API{store: store}, nil
}