Our great sponsors
-
# Build stage FROM golang:1.18.3-alpine AS builder WORKDIR /app COPY . . RUN go build -o main ./cmd/graphql-api/main.go RUN apk add curl RUN curl -L https://github.com/golang-migrate/migrate/releases/download/v4.15.2/migrate.linux-amd64.tar.gz | tar xvz # Run stage FROM alpine WORKDIR /app COPY --from=builder /app/main . COPY --from=builder /app/config/config-docker.yaml ./config/config-docker.yaml COPY --from=builder /app/migrate.linux-amd64 ./migrate COPY start.sh . COPY wait-for.sh . COPY internal/repositories/postgres/migrations ./migrations
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Related posts
- How to use SQLC with Golang
- Looking for recommendations for model/schema/migration management in Golang
- best practices for testing of stored procedure calls?
- Authentication system using Golang and Sveltekit - User registration
- is golang-migrate safe in production,i may be obsessive here , but anything that deals with db in production makes me very worried.. this tool installed in linux by a bash , then use cli to get the connection string , so is there any vulnerability to send the connection string out of my project?