Documentation ¶
Index ¶
Constants ¶
View Source
const (
LogTable = "gddata"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client 实例
func (*Client) GdpIndex ¶
func (c *Client) GdpIndex(ctx context.Context, year string) *GdpIndexResult
GdpIndex 地区生产总值指数(1978=100)接口 https://gddata.gd.gov.cn/opdata/index?chooseValue=apiForm&id=29000%2F03600017&sourceType
type GdpIndexResponse ¶
type GdpIndexResult ¶
type GdpIndexResult struct { Result GdpIndexResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 Err error // 错误 }
Click to show internal directories.
Click to hide internal directories.