config

package
v0.0.0-...-fb6abac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PostgreSQLConnection = *pg.Connect(&pg.Options{
	Addr:     Config("POSTGRES_ADDR"),
	User:     Config("POSTGRES_USER"),
	Password: Config("POSTGRES_PASSWORD"),
	Database: Config("POSTGRES_DB")})

Functions

func Config

func Config(key string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL