utils

package
v0.0.0-...-4f58053 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func GetValue

func GetValue(key string) string

GetValue returns configuration value based on a given key from environment variables

Types

type EnvVars

type EnvVars struct {
	DB_USER     string
	DB_PASSWORD string
	DB_HOST     string
	DB_PORT     string
	DB_NAME     string
}

func LoadEnv

func LoadEnv() EnvVars

Jump to

Keyboard shortcuts

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