mirror of
https://github.com/zitadel/zitadel.git
synced 2025-06-12 19:28:33 +00:00

* feat(cli): initilize cli * fix(config): allow multiple files * refactor(cli): constructor naming * go mod tidy * refactor: move code out of v2 package * chore: logging v0.1 * chore: remove old gitignore * fix func Co-authored-by: Livio Amstutz <livio.a@gmail.com>
18 lines
286 B
Go
18 lines
286 B
Go
package config
|
|
|
|
import (
|
|
"database/sql"
|
|
|
|
"github.com/caos/zitadel/internal/errors"
|
|
)
|
|
|
|
var client *sql.DB
|
|
|
|
type Config struct{}
|
|
|
|
func Connect() (*sql.DB, error) {
|
|
//TODO: viper read into Config
|
|
|
|
return nil, errors.ThrowUnimplemented(nil, "CONFI-8bvVL", "connect is unimplemented")
|
|
}
|