Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
func (*Bot) SetUpUpdates ¶
func (bot *Bot) SetUpUpdates() tgbotapi.UpdatesChannel
type Coordinates ¶
func NewCoordinates ¶
func NewCoordinates(lat, lon string) Coordinates
type Logger ¶
type Logger interface { Debug(args ...interface{}) Info(args ...interface{}) Warn(args ...interface{}) Error(args ...interface{}) Panic(args ...interface{}) Fatal(args ...interface{}) Debugf(template string, args ...interface{}) Infof(template string, args ...interface{}) Warnf(template string, args ...interface{}) Errorf(template string, args ...interface{}) Panicf(template string, args ...interface{}) Fatalf(template string, args ...interface{}) }
func GetNewLogger ¶
func GetNewLogger() Logger
type WeatherData ¶
type WeatherData struct { City string Country string Coordinates Coordinates Date time.Time }
func NewWeatherData ¶
func NewWeatherData(city, country string, coordinates Coordinates, date time.Time) WeatherData
Click to show internal directories.
Click to hide internal directories.