Update go-jet to support CircleCi build.

This commit is contained in:
go-jet 2019-06-21 16:16:57 +02:00
parent 17f6bab2e7
commit 454cd6f12b
16 changed files with 297 additions and 251 deletions

File diff suppressed because it is too large Load diff

View file

@ -177,14 +177,14 @@ INSERT INTO test_sample.employee (
manager_id
)
VALUES
(1, 'Windy', 'Hays', '1999-01-08 04:05:06.100 -8:00', NULL),
(2, 'Ava', 'Christensen', '1999-01-08 04:05:06', 1),
(3, 'Hassan', 'Conner', '1999-01-08 04:05:06', 1),
(4, 'Anna', 'Reeves', '1999-01-08 04:05:06', 2),
(5, 'Sau', 'Norman', '1999-01-08 04:05:06', 2),
(6, 'Kelsie', 'Hays', '1999-01-08 04:05:06', 3),
(7, 'Tory', 'Goff', '1999-01-08 04:05:06', 3),
(8, 'Salley', 'Lester', '1999-01-08 04:05:06', 3);
(1, 'Windy', 'Hays', '1999-01-08 04:05:06.100 +1:00', NULL),
(2, 'Ava', 'Christensen', '1999-01-08 04:05:06 +1:00', 1),
(3, 'Hassan', 'Conner', '1999-01-08 04:05:06 +1:00', 1),
(4, 'Anna', 'Reeves', '1999-01-08 04:05:06 +1:00', 2),
(5, 'Sau', 'Norman', '1999-01-08 04:05:06 +1:00', 2),
(6, 'Kelsie', 'Hays', '1999-01-08 04:05:06 +1:00', 3),
(7, 'Tory', 'Goff', '1999-01-08 04:05:06 +1:00', 3),
(8, 'Salley', 'Lester', '1999-01-08 04:05:06 +1:00', 3);
-- Person table ------------------

View file

@ -9,6 +9,8 @@ import (
)
func main() {
fmt.Println(dbconfig.ConnectString)
db, err := sql.Open("postgres", dbconfig.ConnectString)
if err != nil {
panic("Failed to connect to test db")
@ -38,6 +40,7 @@ func main() {
Password: dbconfig.Password,
DBName: dbconfig.DBName,
SchemaName: schemaName,
SslMode: "disable",
})
panicOnError(err)