Skip to content
This repository was archived by the owner on Feb 9, 2025. It is now read-only.

Commit 1f5eb92

Browse files
committed
Update dependencies and refactoring
- update to go-pg/v9 - cleanup dependencies - update Hook's - extend Readme for environment configuration
1 parent 5f64cbe commit 1f5eb92

File tree

6 files changed

+183
-60
lines changed

6 files changed

+183
-60
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ language: go
22
go:
33
- 1.11.x
44
- 1.12.x
5+
- 1.13.x
6+
services:
7+
- postgresql
58
env:
69
- GO111MODULE=on
710
install:
@@ -14,4 +17,4 @@ after_success:
1417
- bash <(curl -s https://codecov.io/bash)
1518
matrix:
1619
allow_failures:
17-
- go: tip
20+
- go: tip

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[![Build Status](https://travis-ci.com/go-helium/redis.svg?branch=master)](https://travis-ci.com/go-helium/redis)
55
[![Report](https://goreportcard.com/badge/github.com/go-helium/postgres)](https://goreportcard.com/report/github.com/go-helium/postgres)
66
[![GitHub release](https://img.shields.io/github/release/go-helium/postgres.svg)](https://github.com/go-helium/postgres)
7+
[![Sourcegraph](https://sourcegraph.com/github.com/go-helium/postgres/-/badge.svg)](https://sourcegraph.com/github.com/go-helium/postgres?badge)
78
![GitHub](https://img.shields.io/github/license/go-helium/postgres.svg?style=popout)
89

910
Module provides you connection to PostgreSQL server
@@ -34,4 +35,9 @@ POSTGRES_PASSWORD=string
3435
POSTGRES_DATABASE=string
3536
POSTGRES_DEBUG=bool
3637
POSTGRES_POOL_SIZE=int
38+
POSTGRES_OPTIONS_HOST=string
39+
POSTGRES_OPTIONS_SSLKEY=string
40+
POSTGRES_OPTIONS_SSLMODE=string
41+
POSTGRES_OPTIONS_SSLCERT=string
42+
POSTGRES_OPTIONS_SSLROOTCERT=string
3743
```

go.mod

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
module github.com/go-helium/postgres
22

3+
go 1.13
4+
5+
replace mellium.im/sasl v0.2.1 => github.com/mellium/sasl v0.2.1
6+
37
require (
4-
github.com/go-pg/pg v8.0.4+incompatible
5-
github.com/im-kulikov/helium v0.11.11
6-
github.com/jinzhu/inflection v0.0.0-20180308033659-04140366298a // indirect
8+
github.com/go-pg/pg/v9 v9.0.1
9+
github.com/im-kulikov/helium v0.12.2
710
github.com/pkg/errors v0.8.1
8-
github.com/spf13/viper v1.3.2
9-
github.com/stretchr/testify v1.3.0
10-
go.uber.org/zap v1.10.0
11-
mellium.im/sasl v0.2.1 // indirect
11+
github.com/spf13/viper v1.4.0
12+
github.com/stretchr/testify v1.4.0
13+
go.uber.org/zap v1.12.0
1214
)
13-
14-
replace mellium.im/sasl v0.2.1 => github.com/mellium/sasl v0.2.1

0 commit comments

Comments
 (0)