other/parser/parser.go
Avoid deeply nested control flow statements. Open
Open
} else if strings.Contains(s, ".tif") {
tags = strings.Split(s, ".tif")
} else {
tags = append(tags, " ")
}
Function CreateFile
has 5 return statements (exceeds 4 allowed). Open
Open
func CreateFile(filename ...string) (*os.File, error) {
if _, err := os.Stat(filename[0]); os.IsExist(err) {
return &os.File{}, err
}