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

Releases: go-helium/postgres

🚀 Update dependencies and refactoring

10 Nov 14:20
1f5eb92
Compare
Choose a tag to compare
  • 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

15 Jun 13:22
5f64cbe
Compare
Choose a tag to compare
  • remove os/user dependency
  • not need CGO
  • fix user: Current not implemented on ...

🌽 Minor fixes

01 May 23:28
2be4b58
Compare
Choose a tag to compare
  • remove unused field
  • more useful debug in log

🥦 Minor fixes

01 May 23:19
2abdd31
Compare
Choose a tag to compare
  • 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

24 Feb 22:50
a0e2fe5
Compare
Choose a tag to compare
v0.2.0

Update to Helium v0.10.1

Initialize

24 Feb 20:44
7bfb318
Compare
Choose a tag to compare

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