debug, identify code added.

This commit is contained in:
dalbodeule
2025-10-16 23:00:54 +09:00
parent 486d18d207
commit a5047b7e8b
3 changed files with 11 additions and 5 deletions

View File

@@ -14,6 +14,7 @@ type Config struct {
PgDsn string
RootPath string
LokiHost string
Identify string
}
func GetConfig() *Config {
@@ -25,6 +26,7 @@ func GetConfig() *Config {
pgDsn := os.Getenv("DB_DSN")
rootPath := os.Getenv("ROOT_PATH")
lokiHost := os.Getenv("LOKI_HOST")
identify := os.Getenv("IDENTIFY")
return &Config{
Port: port,
@@ -33,5 +35,6 @@ func GetConfig() *Config {
PgDsn: pgDsn,
RootPath: rootPath,
LokiHost: lokiHost,
Identify: identify,
}
}