Documentation ¶
Index ¶
Constants ¶
View Source
const ( Baseurl = "http://apis.eolinker.com/common/oil/getOilPriceToday?" ProductKey = "9ktLPua9ea88ebd153a973dafedd2734073002e31d82e4f" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResOilPrice ¶
type ResOilPrice struct { StatusCode string `json:"statusCode"` Desc string `json:"desc"` Result result `json:"result"` }
func GetPriceToday ¶
func GetPriceToday(prov string) (*ResOilPrice, error)
Click to show internal directories.
Click to hide internal directories.