It seems like you are fixing the number of rows of the calendar to 5. As the TotalRow calculations by the following code:
totalRow := int(math.Ceil(float64(mnthTotalDys) / 7.0))
will always return 5, because mnthTotalDys value can be either 30 or 31.
So, if the first day of the bangla month starts at 'friday' or 'saturday' then some of the last days will be in the 6th row, which will be stripped off. As a matter of fact, this will happen in the next month too.
It seems like you are fixing the number of rows of the calendar to 5. As the TotalRow calculations by the following code:
totalRow := int(math.Ceil(float64(mnthTotalDys) / 7.0))
will always return 5, becausemnthTotalDys
value can be either 30 or 31. So, if the first day of the bangla month starts at 'friday' or 'saturday' then some of the last days will be in the 6th row, which will be stripped off. As a matter of fact, this will happen in the next month too.