wd := new(time.Weekday)
fmt.Println(wd.String())
The above two lines return Sunday (weekdays start with a 0)
Is it possible for me to assign a value along with new ? Other method i tried is
var wd time.Weekday
wd = 3
this one returns Wednesday