Skip to content

francoposa/golang-auth

Repository files navigation

golang-auth

Authentication & Authorization with Golang & Postgres

DB Migrations

Uses Goose for migrations.

Install Goose:

$ go get -u github.com/pressly/goose/cmd/goose

Create DBs

psql -U postgres -c "CREATE DATABASE golang_auth_authentication;"

Run migrations from project root:

goose -dir infrastructure/db/migrations postgres "user=postgres dbname=golang_auth_authentication sslmode=disable" up

The test setup currently handles running migrations up & down migrations to start & end with an empty database.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages