gin icon indicating copy to clipboard operation
gin copied to clipboard

refactor: ignore the error which never occur

Open CCpro10 opened this issue 1 year ago • 0 comments

  • ignore the error which never occur
	start.Name = xml.Name{
		Space: "",
		Local: "map",
	}
  • The error never occurs in the following code
	if start.Name.Local == "" {
		return fmt.Errorf("xml: start tag with no name")
	}

CCpro10 avatar Mar 04 '23 12:03 CCpro10