Skip to content

Instantly share code, notes, and snippets.

View andrelsf's full-sized avatar
:octocat:
Focusing

Andre Ferreira andrelsf

:octocat:
Focusing
  • Itau
  • Goiânia/Goias - Brazil
View GitHub Profile
@andrelsf
andrelsf / log_request.go
Created October 19, 2019 14:26 — forked from hoitomt/log_request.go
Golang: Log HTTP Requests in Go
package main
import (
"fmt"
"log"
"net/http"
"os"
)
func main() {
liquibase:
enabled: true
change-log: "liquibase/changelog.yml"
url: ${spring.datasource.url}
user: ${spring.datasource.username}
password: ${spring.datasource.password}
drop-first: false
driver-class-name: ${spring.datasource.driver-class-name}
databaseChangeLog:
- include:
file: liquibase/migrations/V001-CREATE-TABLE-BEERS.yml
version: "3.5"
services:
psql-beers:
image: postgres:13.3-alpine
hostname: postgresql-server
labels:
br.dev.multicode.author: "Andre Ferreira <[email protected]>"
br.dev.multicode.license: "MIT"
expose: