You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
340 B
15 lines
340 B
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/dustinpianalto/quartermaster/internal/postgres"
|
|
"github.com/dustinpianalto/quartermaster/internal/services"
|
|
)
|
|
|
|
func main() {
|
|
var migrationsVersion uint = 2 // Update when there is a new migration
|
|
postgres.ConnectDatabase(os.Getenv("DATABASE_URL"), migrationsVersion)
|
|
services.InitServices()
|
|
}
|