code: func IsTypeChar(tp byte) bool {
  	switch tp {
  	case mysql.TypeString, mysql.TypeVarchar:
  		return true
  	default:
  		return false
  	}
  }
docs: // IsTypeChar returns a boolean indicating
  // whether the tp is the char type like a string type or a varchar type.