I want to parse string like "25-APR-2019"
to time.time
I know parsing date using
date, err := time.Parse(layout, stringVariableForDate)
But I didn't find layout option in https://golang.org/pkg/time/#pkg-constants
I can not use JAN, as using this, I am getting error :
panic: parsing time "25-APR-2019" as "02-JAN-2006": cannot parse "APR-2019" as "-JAN-"
How can I parse date string with month name in capital letter in go-lang?