Golang Get Day of Week à partir du temps
weekday := time.Now().Weekday()
fmt.Println(weekday) // "Tuesday"
fmt.Println(int(weekday)) // "2"
Wandering Wolf
weekday := time.Now().Weekday()
fmt.Println(weekday) // "Tuesday"
fmt.Println(int(weekday)) // "2"