gin
gin copied to clipboard
refactor: ignore the error which never occur
- 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")
}