internal

package
v0.0.0-...-164d4d6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DBHost = os.Getenv("DB_HOST")
	DBPort = os.Getenv("DB_PORT")
	DBName = os.Getenv("DB_NAME")

	DBUser     = os.Getenv("DB_USER")
	DBPassword = getSecret("DB_PASSWORD")

	Debug = os.Getenv("DEBUG") == "true"

	TimeLocation = getTimeLocation("America/Lima")

	RateLimit = parseIntEnv("RATE_LIMIT")
)
View Source
var Migrations []string
View Source
var (
	RootPath = filepath.Join(filepath.Dir(b), "../")
)

Functions

func SetUpTestWithDB

func SetUpTestWithDB(ctx context.Context, t *testing.T) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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