func TestTime(tt *testing.T) {
timeNow := time.Now()
timeYesterday := timeNow.AddDate(0, 0, -1)
dateYesterday := timeYesterday.Format("20060102")
dateNow := timeNow.Format("20060102")
fmt.Println("昨天:", dateYesterday)
fmt.Println("今天:", dateNow)
}