golang 历史上的今天

原创
2022/09/27 16:42
阅读数 54

golang 历史上的今天

简介

获取历史上当天发生的大事

使用

go get github.com/wms3001/historyToday

实例

  1. 按月份获取
historyToday := &HistoryTody{}
historyToday.Type = "month"
historyToday.Month = "09"
resp := historyToday.GetHistoryToday()
  1. 按天获取
historyToday := &HistoryTody{}
historyToday.Type = "day"
historyToday.Month = "09"
historyToday.Day = "28"
resp := historyToday.GetHistoryDay()
展开阅读全文
加载中
点击引领话题📣 发布并加入讨论🔥
0 评论
0 收藏
0
分享
返回顶部
顶部