You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: base.go
    path of file: ./repos/fyne/canvas
    
    the code of the file until where you have to start completion: // Package canvas contains all of the primitive CanvasObjects that 
    
func (o *baseObject) MinSize() fyne.Size {
	o.propertyLock.RLock()
	defer o.propertyLock.RUnlock()

	if o.min.Width == 0 && o.min.Height == 0 {
		return fyne.NewSize(1, 1)
	}

	return o.min
}