// FindColumnInfoByID finds ColumnInfo in cols by ID.
FindColumnInfoByID finds ColumnInfo in cols by ID.
// FindColumnInfoByID finds ColumnInfo in cols by ID .
func FindColumnInfoByID(colInfos []*model.ColumnInfo, id int64) *model.ColumnInfo {
	for _, info := range colInfos {
		if info.ID == id {
			return info
		}
	}
	return nil
}
func FindColumnInfoByID ( colInfos [ ] * model . ColumnInfo , id int64 ) * model . ColumnInfo { for _ , info := range colInfos { if info . ID == id { return info } } return nil }
FindColumnInfoByID finds ColumnInfo in cols by ID.
FindColumnInfoByID finds ColumnInfo in cols by ID .