All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 2m6s
19 lines
372 B
Go
Executable File
19 lines
372 B
Go
Executable File
package handlers
|
|
|
|
import (
|
|
"gitlab.com/mobicoop/solidarity/services/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,
|
|
}
|
|
}
|