code: func ColInfo2Col(cols []*Column, col *model.ColumnInfo) *Column {
  	for _, c := range cols {
  		if c.ColName.L == col.Name.L {
  			return c
  		}
  	}
  	return nil
  }
docs: // ColInfo2Col finds the corresponding column of the ColumnInfo in a column slice.