1

Move from dep to go mod (experiment)

This commit is contained in:
2018-12-22 18:03:53 +04:00
parent 3fdcb11dcd
commit 647d9c548b
17 changed files with 70 additions and 91 deletions

View File

@@ -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"`
}

View File

@@ -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"`
}