Considering:
var m time.Month
m‘s type underlying type is int, so it can be converted to int:
var i int = int(m) // normally written as 'i := int(m)'
On a side note: The question shows a division ‘m / time.Month(10)‘. That may be a bug unless you want to compute some dekamonth value 😉