config

package
v0.0.0-...-4733ae6 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PG_HOST     = GetEnv("PG_HOST", "0.0.0.0")
	PG_PORT     = GetEnv("PG_PORT", "5432")
	PG_USER     = GetEnv("PG_USER", "postgres")
	PG_DB       = GetEnv("PG_DB", "postgres")
	PG_PASSWORD = GetEnv("PG_PASSWORD", "admin@123")
	PG_SSLMODE  = GetEnv("PG_SSLMODE", "disable")
)

Functions

func GetEnv

func GetEnv(key, defaultValue 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