Initial commit

This commit is contained in:
2022-08-11 17:21:32 +02:00
commit f6aa45944d
19 changed files with 2605 additions and 0 deletions

18
handlers/handlers.go Normal file
View File

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