utils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PROJECT_NAME = "GoBot"

	GOBOT_WORKING_DIR     = "GOBOT_WORKING_DIR"
	PLUGIN_EXTENSION_NAME = ".gobot"

	LOGGER_TIME         = "%-20s"
	LOGGER_COLOR_RED    = "\033[31m"
	LOGGER_COLOR_YELLOW = "\033[33m"
	LOGGER_COLOR_BLUE   = "\033[35m"
	LOGGER_COLOR_CYAN   = "\033[36m"
	LOGGER_COLOR_WHITE  = "\033[37m"

	LOGGER_INFO_FORMATE = LOGGER_COLOR_WHITE + LOGGER_TIME + LOGGER_COLOR_CYAN + "[%s]" + "[INFO]: " + "%s\n"
	LOGGER_ERRO_FORMATE = LOGGER_COLOR_WHITE + LOGGER_TIME + LOGGER_COLOR_RED + "[%s]" + "[ERRO]: " + "%s\n"
	LOGGER_WARN_FORMATE = LOGGER_COLOR_WHITE + LOGGER_TIME + LOGGER_COLOR_YELLOW + "[%s]" + "[WARN]: " + "%s\n"
)

PROJECT_NAME ...

Variables

This section is empty.

Functions

func LoadDeviceInfo

func LoadDeviceInfo()

LoadDeviceInfo ...

func WorkingDir

func WorkingDir() string

WorkingDir ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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