group_helper/repository/grouphelperrepository.go

19 lines
436 B
Go
Raw Normal View History

package repository
import (
"errors"
"git.dragon-labs.de/alphyron/group_helper/config"
"git.dragon-labs.de/alphyron/group_helper/logic"
)
func NewUserHelperRepository() (*logic.GroupHelperRepository, error) {
databaseConfig := config.DatabaseConfig{}
_ = databaseConfig.LoadConfig()
switch databaseConfig.DatabaseType {
}
return nil, errors.New("cannot support given database type (" + databaseConfig.DatabaseType + ")")
}