18 lines
293 B
Go
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() {}
|