Documentation ¶
Overview ¶
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Teletoken = os.Getenv("TELE_TOKEN") WAPI = os.Getenv("WEATHER_API") )
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func ParseOutput ¶ added in v1.0.6
Types ¶
type Output ¶ added in v1.0.6
type Output struct { Coord Coord `json:"coord"` Weather []Weather `json:"weather"` Base string `json:"base"` Main Main `json:"main"` Visibility int `json:"visibility"` Wind Wind `json:"wind"` Clouds Clouds `json:"clouds"` Dt int `json:"dt"` Sys Sys `json:"sys"` Timezone int `json:"timezone"` Id int `json:"id"` Name string `json:"name"` Cod int `json:"cod"` }
Click to show internal directories.
Click to hide internal directories.