configurations

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConf

func GetConf(name string) (result string)

Get a configuration value from the environment(provided by .env file)

The builtin dotenv settings are the following:

COMMAND_START="/"

NICKNAME="bot"

You can override these default settings to your liking.

func Init

func Init()

Initialize the configurations

Types

This section is empty.

Jump to

Keyboard shortcuts

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