Initial commit

This commit is contained in:
2022-09-05 07:27:52 +02:00
commit 3699479c5e
19 changed files with 2730 additions and 0 deletions

18
handlers/handlers.go Normal file
View File

@@ -0,0 +1,18 @@
package handlers
import (
"git.coopgo.io/coopgo-platform/agenda/storage"
"github.com/spf13/viper"
)
type AgendaHandler struct {
config *viper.Viper
storage storage.Storage
}
func NewHandler(cfg *viper.Viper, storage storage.Storage) AgendaHandler {
return AgendaHandler{
config: cfg,
storage: storage,
}
}