mobility-accounts/handlers/handlers.go

19 lines
362 B
Go
Raw Permalink Normal View History

2022-08-11 15:14:21 +00:00
package handlers
import (
"git.coopgo.io/coopgo-platform/mobility-accounts/storage"
"github.com/spf13/viper"
)
type MobilityAccountsHandler struct {
storage storage.Storage
config *viper.Viper
}
func NewHandler(cfg *viper.Viper, storage storage.Storage) MobilityAccountsHandler {
return MobilityAccountsHandler{
storage: storage,
config: cfg,
}
}