Move from dep to go mod (experiment)
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
// Fantasy World Zookeeper Helper Bot
|
||||
// Copyright (c) 2018 Vladimir "fat0troll" Hodakov
|
||||
|
||||
package config
|
||||
|
||||
// Struct is a main configuration structure that holds all other
|
||||
// structs within.
|
||||
type Struct struct {
|
||||
TDLib TDLib `yaml:"tdlib"`
|
||||
}
|
@@ -1,14 +0,0 @@
|
||||
// Fantasy World Zookeeper Helper Bot
|
||||
// Copyright (c) 2018 Vladimir "fat0troll" Hodakov
|
||||
|
||||
package config
|
||||
|
||||
// TDLib struct handles all configuration of tdlib
|
||||
// tdlib is an official Telegram MTProto library
|
||||
type TDLib struct {
|
||||
APIID string `yaml:"api_id"`
|
||||
APIHash string `yaml:"api_hash"`
|
||||
DatabaseDirectory string `yaml:"database_directory"`
|
||||
FilesDirectory string `yaml:"files_directory"`
|
||||
ErrorsFile string `yaml:"errors_file"`
|
||||
}
|
Reference in New Issue
Block a user