Skip to content

🚀 Update dependencies and refactoring

Latest
Compare
Choose a tag to compare
@im-kulikov im-kulikov released this 10 Nov 14:20
· 4 commits to master since this release
1f5eb92
  • 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