func main() {
str1:="123"
num1,_:=strconv.Atoi(str1)
fmt.Println(num1)
str2:=strconv.Itoa(num1)
str2 = fmt.Sprintf("%d",num1)
fmt.Println(str2)
var num2 int64 = 100
str3:= strconv.FormatInt(num2, 10)
fmt.Println(str3)
float64Num,_ := strconv.ParseFloat(str1,64)
int64Num, _ := strconv.ParseInt(str1, 10, 64)
fmt.Println(float64Num, int64Num)
now:=time.Now()
nowStr:=now.Format("2006-01-02")
fmt.Println(nowStr)
nowStr = "2021-01-01"
now,_ = time.Parse("2006-1-2",nowStr)
year, month, day := now.Date()
tomorrow := time.Date(year, month, day+1, 8, 0, 0, 0, now.Location())
fmt.Println(tomorrow)
tomorrow = tomorrow.Add(time.Hour * 2).Add(time.Minute * 30)
seconds := tomorrow.Sub(now).Seconds()
fmt.Println(int(seconds))
}