2025-03-26 13:57:32 +02:00

18 lines
293 B
Go

package internal
import "github.com/rs/zerolog/log"
var (
jwtSecret, dbURL string
)
func init() {
InitLogger()
jwtSecret = EnvOrExit("JWT_SECRET")
dbURL = EnvOrExit("POSTGRES_URL")
log.Debug().Msg("Initialization completed")
// TODO: run migrations here if necessary
}
func Run() {}