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: layout.go
    path of file: ./repos/macdriver/helper/layout
    
    the code of the file until where you have to start completion: package layout

import (
	"github.com/progrium/macdriver/macos/appkit"
	"github.com/progrium/macdriver/macos/foundation"
)

func AliginAnch
    
func AutoAlignControlsWidth(controls ...appkit.IControl) {
	var maxWidth float64
	for _, control := range controls {
		control.SizeToFit()
		w := control.Bounds().Size.Width
		if maxWidth < w {
			maxWidth = w
		}
	}
	for _, control := range controls {
		control.WidthAnchor().ConstraintEqualToConstant(maxWidth).SetActive(true)
	}
}