config

package
v0.0.0-...-68a21f0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config struct {
	TelegramToken string `env:"TELEGRAM_TOKEN"`
	DatabaseURI   string `env:"DATABASE_URI"`

	MigrationsFlag bool `env:"MIGRATIONS_FLAG"`
	ProductionMode bool `env:"PRODUCTION_MODE"`
}

Functions

func ParseConfig

func ParseConfig() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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