config

package
v0.0.0-...-517d227 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Telegram tghandler.Config  `mapstructure:"telegram" json:"telegram"`
	CLI      clihandler.Config `mapstructure:"cli" json:"cli"`
}

func InitConfig

func InitConfig(dir string, file string, ext string) (conf *Config, err error)

type Location

type Location struct {
	Dir  string
	Name string
	Ext  string
}

func ParsePath

func ParsePath(rawPath string) *Location

Jump to

Keyboard shortcuts

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