This repository was archived by the owner on Feb 9, 2025. It is now read-only.
Releases: go-helium/postgres
Releases · go-helium/postgres
🚀 Update dependencies and refactoring
- update to go-pg/v9
- cleanup dependencies
- update Hook's
- extend Readme for environment configuration
Configuration:
- yaml example
posgres:
hostname: string
username: string
password: string
database: string
debug: bool
pool_size: int
options: # optional
host: string
sslkey: string
sslmode: string
sslcert: string
sslrootcert: string
- env example
POSTGRES_HOSTNAME=string
POSTGRES_USERNAME=string
POSTGRES_PASSWORD=string
POSTGRES_DATABASE=string
POSTGRES_DEBUG=bool
POSTGRES_POOL_SIZE=int
POSTGRES_OPTIONS_HOST=string
POSTGRES_OPTIONS_SSLKEY=string
POSTGRES_OPTIONS_SSLMODE=string
POSTGRES_OPTIONS_SSLCERT=string
POSTGRES_OPTIONS_SSLROOTCERT=string
🎃 Package not need CGO anymore
- remove
os/user
dependency - not need
CGO
- fix
user: Current not implemented on ...
🌽 Minor fixes
- remove unused field
- more useful debug in log
🥦 Minor fixes
- add ssl-options
- rewrite tests (remove go-convey)
- increase code coverage
- update to Helium v0.11.11
- update to pg v8.0.4
- update to viper v1.3.2
- update to zap v1.10.0
- replace mellium.im/sasl with github.com/mellium/sasl
- describe new functionality in readme
New config options
posgres:
hostname: string
username: string
password: string
database: string
debug: bool
pool_size: int
options: # optional
host: string
sslkey: string
sslmode: string
sslcert: string
sslrootcert: string
Update to Helium v0.10.1
v0.2.0 Update to Helium v0.10.1
Initialize
PostgreSQL module (for Helium) provides you connection to PostgreSQL server
Module provides you connection to PostgreSQL server
*pg.DB
is a database handle representing a pool of zero or more underlying connections. It's safe for concurrent use by multiple goroutines
Configuration:
- yaml example
posgres:
address: string
username: string
password: string
database: string
debug: bool
pool_size: int
- env example
POSTGRES_ADDRESS=string
POSTGRES_USERNAME=string
POSTGRES_PASSWORD=string
POSTGRES_DATABASE=string
POSTGRES_DEBUG=bool
POSTGRES_POOL_SIZE=int