h1. What Change handler implementation to After the database be an interface added the steps to run the app locally without docker are no longer working since it is missing the steps required to have the database which is required to start the server. h1. Why {code:java} $ go run cmd/mobile - According to the team it should be an interface security-service/main.go time="2019 - We cannot mock data 02-20T16:29:01Z" level=info msg="No .env file found, using default values instead." panic: failed to do the tests with no connect to SQL database: dial tcp [::1]:5432: connect: connection refused
goroutine 1 [running]: main.connectDatabase(0xc000242b18, 0x5, 0x14da458, 0x4, 0x14da6c0, 0x4, 0xc0001d54b0, 0x1, 0x1, 0x0, ...) /Users/camilamacedo/go/src/github.com/aerogear/mobile - interface implementations security-service/cmd/mobile-security-service/main.go:81 +0x1a6 main.main() /Users/camilamacedo/go/src/github.com/aerogear/mobile-security-service/cmd/mobile-security-service/main.go:47 +0xd5 exit status 2 {code}
|
|